mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-04-08 06:48:51 +00:00
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:
@@ -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];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user