ObjFW  Diff

Differences From Artifact [089b540858]:

  • File src/OFRIPEMD160Hash.m — part of check-in [0509d7a844] at 2019-01-03 19:13:03 on branch trunk — Update copyright (user: js size: 6693)

To Artifact [3842b26a7e]:

  • File src/OFRIPEMD160Hash.m — part of check-in [bceb7ed4c9] at 2019-03-08 00:35:48 on branch trunk — Use dot syntax (user: js size: 6703)

154
155
156
157
158
159
160
161

162
163
164
165
166
167
168
154
155
156
157
158
159
160

161
162
163
164
165
166
167
168







-
+







- (instancetype)init
{
	self = [super init];

	@try {
		_iVarsData = [[OFSecureData alloc]
		    initWithCount: sizeof(*_iVars)];
		_iVars = [_iVarsData items];
		_iVars = _iVarsData.mutableItems;

		[self of_resetState];
	} @catch (id e) {
		[self release];
		@throw e;
	}

182
183
184
185
186
187
188
189

190
191
192
193
194
195
196
182
183
184
185
186
187
188

189
190
191
192
193
194
195
196







-
+







}

- (id)copy
{
	OFRIPEMD160Hash *copy = [[OFRIPEMD160Hash alloc] of_init];

	copy->_iVarsData = [_iVarsData copy];
	copy->_iVars = [copy->_iVarsData items];
	copy->_iVars = copy->_iVarsData.mutableItems;
	copy->_calculated = _calculated;

	return copy;
}

- (void)of_resetState
{