OLMKit: OMLPkSigning: Zero mutableSeed

This commit is contained in:
manuroe 2019-04-12 11:17:53 +02:00
parent 89357b6a49
commit 5147349fea

View file

@ -72,6 +72,8 @@
return nil;
}
[mutableSeed resetBytesInRange:NSMakeRange(0, mutableSeed.length)];
NSString *publicKey = [[NSString alloc] initWithData:publicKeyData encoding:NSUTF8StringEncoding];
return publicKey;
}