Differences From Artifact [1827be5212]:
- File
src/OFHMAC.m
— part of check-in
[4af49a13c3]
at
2017-05-07 20:10:13
on branch trunk
— Small code style change
Casts are now written like types in variable declarations. (user: js, size: 3595) [annotate] [blame] [check-ins using]
To Artifact [7f4d2f3cf3]:
- File src/OFHMAC.m — part of check-in [469a496cd2] at 2017-05-08 21:37:11 on branch trunk — Add OF_DESIGNATED_INITIALIZER & OF_METHOD_FAMILY (user: js, size: 3631) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
22 23 24 25 26 27 28 29 30 31 32 33 34 35 | @implementation OFHMAC @synthesize hashClass = _hashClass; + (instancetype)HMACWithHashClass: (Class <OFCryptoHash>)class { return [[[self alloc] initWithHashClass: class] autorelease]; } - initWithHashClass: (Class <OFCryptoHash>)class { self = [super init]; _hashClass = class; | > > > > > | 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 | @implementation OFHMAC @synthesize hashClass = _hashClass; + (instancetype)HMACWithHashClass: (Class <OFCryptoHash>)class { return [[[self alloc] initWithHashClass: class] autorelease]; } - init { OF_INVALID_INIT_METHOD } - initWithHashClass: (Class <OFCryptoHash>)class { self = [super init]; _hashClass = class; |
︙ | ︙ |