diff --git a/src/XMPPDiscoEntity.m b/src/XMPPDiscoEntity.m index a89fde6..062d29e 100644 --- a/src/XMPPDiscoEntity.m +++ b/src/XMPPDiscoEntity.m @@ -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)