Monotone-Parent: 7cced8aec79bd2e835d318154c57fb61273a4b35

Monotone-Revision: c6e69361038ae5b74d8ad57cb16d8b1eb0d55bab

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2011-04-05T13:34:55
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau
2011-04-05 13:34:55 +00:00
parent e1f2ba7b7a
commit 1d6c7eb00e

View File

@@ -21,6 +21,8 @@
* Boston, MA 02111-1307, USA.
*/
#include <crypt.h>
#import <Foundation/NSArray.h>
#import <Foundation/NSCharacterSet.h>
#import <Foundation/NSData.h>
@@ -551,7 +553,7 @@ static NSMutableCharacterSet *safeLDIFStartChars = nil;
// The salt is weak here, but who cares anyway, crypt should not
// be used anymore
buf = (char *)crypt([self UTF8String], [theSalt UTF8String]);
buf = crypt([self UTF8String], [theSalt UTF8String]);
return [NSString stringWithUTF8String: buf];
}