Index: src/XMPPDiscoEntity.m ================================================================== --- src/XMPPDiscoEntity.m +++ src/XMPPDiscoEntity.m @@ -112,11 +112,12 @@ } - (OFString *)capsHash { OFMutableString *caps = [OFMutableString string]; - OFSHA1Hash *hash = [OFSHA1Hash cryptoHash]; + OFSHA1Hash *hash = [OFSHA1Hash + cryptoHashWithAllowsSwappableMemory: true]; OFData *digest; for (XMPPDiscoIdentity *identity in _identities) [caps appendFormat: @"%@/%@//%@<", identity.category, identity.type, identity.name];