Differences From Artifact [32e9d453f3]:
- File src/OFSHA1Hash.m — part of check-in [b1cd76a8cd] at 2016-07-24 18:54:10 on branch trunk — OFCryptoHash: Conform to OFCopying (user: js, size: 4058) [annotate] [blame] [check-ins using]
To Artifact [57c3220269]:
- File src/OFSHA1Hash.m — part of check-in [096dd743b5] at 2016-07-24 20:05:18 on branch trunk — OF*Hash: Call [self reset] in -[dealloc] (user: js, size: 4113) [annotate] [blame] [check-ins using]
︙ | |||
108 109 110 111 112 113 114 115 116 117 118 119 120 121 | 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 | + + + + + + + | { self = [super init]; [self OF_resetState]; return self; } - (void)dealloc { [self reset]; [super dealloc]; } - copy { OFSHA1Hash *copy = [[OFSHA1Hash alloc] init]; memcpy(copy->_state, _state, sizeof(_state)); copy->_bits = _bits; |
︙ |