ObjFW  Diff

Differences From Artifact [7ec68174be]:

To Artifact [789f3d1ac5]:


99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115

- (unsigned long)hash
{
	unsigned long hash;

	OFHashInit(&hash);

	OFHashAdd(&hash, _tagClass & 0xFF);
	OFHashAdd(&hash, _tagNumber & 0xFF);
	OFHashAdd(&hash, _constructed);
	OFHashAddHash(&hash, _DEREncodedContents.hash);

	OFHashFinalize(&hash);

	return hash;
}








|
|
|







99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115

- (unsigned long)hash
{
	unsigned long hash;

	OFHashInit(&hash);

	OFHashAddByte(&hash, _tagClass & 0xFF);
	OFHashAddByte(&hash, _tagNumber & 0xFF);
	OFHashAddByte(&hash, _constructed);
	OFHashAddHash(&hash, _DEREncodedContents.hash);

	OFHashFinalize(&hash);

	return hash;
}