From 9e842e72776390c5e2f7eebc657f7413aff19592 Mon Sep 17 00:00:00 2001 From: Wolfgang Sourdeau Date: Fri, 1 Jun 2012 13:54:52 +0000 Subject: [PATCH] Monotone-Parent: 9471287ef57b6223c0e3a175d74fc5f6b9ebc42f Monotone-Revision: 6a6bbe9da76e6e30fd9ce63cf4a8c7677f5f61a0 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2012-06-01T13:54:52 --- ChangeLog | 11 +++++++++++ SoObjects/SOGo/NSString+Crypto.m | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index acee06ea5..e1dc42a6c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,14 @@ +2012-06-01 Wolfgang Sourdeau + + * SoObjects/SOGo/NSString+Crypto.m + (-isEqualToCrypted:withDefaultScheme:): invoke "intValue" rather + than "integerValue" on the encoding number as the int type is not + crucial and it breaks the build with old versions of GNUstep. + + * SoObjects/SOGo/NSString+Crypto.[hm]: new module that provides + category methods for returning encrypted passwords strings and + their encryption algorithm. + 2012-05-31 Ludovic Marcotte * SoObjects/SOGo/SOGoGroup.m - we now handle lowercase diff --git a/SoObjects/SOGo/NSString+Crypto.m b/SoObjects/SOGo/NSString+Crypto.m index 566075164..f3370b8b5 100644 --- a/SoObjects/SOGo/NSString+Crypto.m +++ b/SoObjects/SOGo/NSString+Crypto.m @@ -142,7 +142,7 @@ scheme = [passInfo objectAtIndex: 0]; pass = [passInfo objectAtIndex: 1]; encodingNumber = [passInfo objectAtIndex: 2]; - encoding = [encodingNumber integerValue]; + encoding = [encodingNumber intValue]; if (encoding == encHex) {