mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +00:00
Fix by Yavor Doganiv ... disable certificate expiry test except on 64bit systems, because old 32bit systems can't cope with the test certificate end date.
This commit is contained in:
parent
057445b4e7
commit
c04911d84f
1 changed files with 3 additions and 0 deletions
|
@ -27,9 +27,12 @@ START_SET("TLS support")
|
|||
expiresAt = [c expiresAt: 0];
|
||||
dateFormatter = [[NSDateFormatter alloc] init];
|
||||
[dateFormatter setDateFormat: @"yyyy-MM-dd HH:mm:ss zzz"];
|
||||
/* Test guaranteed to fail on 32-bit architectures. */
|
||||
#if __LP64__
|
||||
PASS_EQUAL(expiresAt,
|
||||
[dateFormatter dateFromString: @"2118-12-14 15:35:11 +0000"],
|
||||
"Expiration date can be retrieved");
|
||||
#endif
|
||||
[dateFormatter release];
|
||||
PASS_EQUAL([c expiresAt], expiresAt,
|
||||
"Expiration for entire list is that of the single item")
|
||||
|
|
Loading…
Reference in a new issue