Adjust to ObjFW changes

This commit is contained in:
Jonathan Schleifer 2020-01-04 00:45:55 +01:00
parent 29e249fbda
commit f84d541eae
No known key found for this signature in database
GPG key ID: 79D21189A2D4708D

View file

@ -114,7 +114,8 @@
- (OFString *)capsHash
{
OFMutableString *caps = [OFMutableString string];
OFSHA1Hash *hash = [OFSHA1Hash cryptoHash];
OFSHA1Hash *hash = [OFSHA1Hash
cryptoHashWithAllowsSwappableMemory: true];
OFData *digest;
for (XMPPDiscoIdentity *identity in _identities)