Differences From Artifact [298535fc6e]:
- File src/OFHMAC.m — part of check-in [143a03a8f0] at 2017-09-09 18:45:27 on branch trunk — Add missing #include "config.h" (user: js, size: 3652) [annotate] [blame] [check-ins using] [more...]
To Artifact [7f94007b12]:
- File
src/OFHMAC.m
— part of check-in
[2f4e0df8be]
at
2017-10-17 00:33:37
on branch trunk
— Do not use implicit method return types
Instead, explicitly declare them, as OF_ASSUME_NONNULL_{BEGIN,END} does
not apply to implicit return types. This means that after this commit,
all init methods have a nonnull return type, as they should have. (user: js, size: 3680) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
25 26 27 28 29 30 31 | @synthesize hashClass = _hashClass; + (instancetype)HMACWithHashClass: (Class <OFCryptoHash>)class { return [[[self alloc] initWithHashClass: class] autorelease]; } | | | | 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 | @synthesize hashClass = _hashClass; + (instancetype)HMACWithHashClass: (Class <OFCryptoHash>)class { return [[[self alloc] initWithHashClass: class] autorelease]; } - (instancetype)init { OF_INVALID_INIT_METHOD } - (instancetype)initWithHashClass: (Class <OFCryptoHash>)class { self = [super init]; _hashClass = class; return self; } |
︙ | ︙ |