Make use of the new -[NSData compress] method and remove \n chars from base64 data

pull/7/head
Wolfgang Sourdeau 2012-11-06 13:50:26 -05:00
parent 4b8a14e41e
commit 63024c30f0
1 changed files with 3 additions and 1 deletions

View File

@ -285,7 +285,9 @@
inContext: context];
assertion = [[session assertion]
dataUsingEncoding: NSUTF8StringEncoding];
password = [[assertion gzip] stringByEncodingBase64];
password = [[[assertion compress] stringByEncodingBase64]
stringByReplacingString: @"\n"
withString: @""];
}
#endif
}