mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-21 19:35:38 +00:00
Make use of the new -[NSData compress] method and remove \n chars from base64 data
This commit is contained in:
@@ -285,7 +285,9 @@
|
||||
inContext: context];
|
||||
assertion = [[session assertion]
|
||||
dataUsingEncoding: NSUTF8StringEncoding];
|
||||
password = [[assertion gzip] stringByEncodingBase64];
|
||||
password = [[[assertion compress] stringByEncodingBase64]
|
||||
stringByReplacingString: @"\n"
|
||||
withString: @""];
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user