Make use of the new -[NSData compress] method and remove \n chars from base64 data
parent
4b8a14e41e
commit
63024c30f0
|
@ -285,7 +285,9 @@
|
|||
inContext: context];
|
||||
assertion = [[session assertion]
|
||||
dataUsingEncoding: NSUTF8StringEncoding];
|
||||
password = [[assertion gzip] stringByEncodingBase64];
|
||||
password = [[[assertion compress] stringByEncodingBase64]
|
||||
stringByReplacingString: @"\n"
|
||||
withString: @""];
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue