mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-10-12 23:37:15 +00:00
Make use of the new -[NSData compress] method and remove \n chars from base64 data
This commit is contained in:
1 parent
4b8a14e41e
commit
63024c30f0
1 file changed
+3
-1
@@ -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