Differences From Artifact [309814cb97]:
- File
tests/OFASN1DERValueTests.m
— part of check-in
[7361cac1f1]
at
2019-06-25 23:29:22
on branch trunk
— OFASN1BitString: Fix unused bits
This was misunderstood to be the number of used bits when it's the
number of unused bits. (user: js, size: 17426) [annotate] [blame] [check-ins using]
To Artifact [b3f62c9dd7]:
- File
tests/OFASN1DERValueTests.m
— part of check-in
[09be825f88]
at
2019-09-29 15:58:33
on branch trunk
— Remove OFAutoreleasePool
OFAutoreleasePools have long been discouraged in favor of the runtime's
autorelease pools. (user: js, size: 17424) [annotate] [blame] [check-ins using]
︙ | |||
20 21 22 23 24 25 26 | 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 | - + | #import "TestsAppDelegate.h" static OFString *module = @"OFData+ASN1DERValue"; @implementation TestsAppDelegate (OFASN1DERValueTests) - (void)ASN1DERValueTests { |
︙ | |||
428 429 430 431 432 433 434 | 428 429 430 431 432 433 434 435 436 437 | - + | "\x01\x01\x01\x01\x01\x01\x01\x01\x01" count: 11] ASN1DERValue]) EXPECT_EXCEPTION(@"Detection of truncated IA5String", OFTruncatedDataException, [[OFData dataWithItems: "\x16\x01" count: 2] ASN1DERValue]) |