Differences From Artifact [2a56c21bf5]:
- File src/OFASN1BitString.m — part of check-in [c7f0229795] at 2020-01-02 01:51:34 on branch trunk — Update copyright (user: js, size: 4515) [annotate] [blame] [check-ins using]
To Artifact [58adebf4a8]:
- File
src/OFASN1BitString.m
— part of check-in
[aeb403a1ed]
at
2020-10-10 14:27:37
on branch trunk
— OFObject: Change type of -[hash] to unsigned long
The internal hash is still 32 bit in most places, but this way, it is at
least not baked into the API and ABI and can be upgraded later, should
that ever be necessary. (user: js, size: 4525) [annotate] [blame] [check-ins using] [more...]
︙ | ︙ | |||
168 169 170 171 172 173 174 | return false; if (bitString->_bitStringLength != _bitStringLength) return false; return true; } | | | | 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 | return false; if (bitString->_bitStringLength != _bitStringLength) return false; return true; } - (unsigned long)hash { return _bitStringValue.hash + (unsigned long)_bitStringLength; } - (OFString *)description { return [OFString stringWithFormat: @"<OFASN1BitString: %@ (%zu bits)>", _bitStringValue, _bitStringLength]; } @end |