aboutsummaryrefslogtreecommitdiff
path: root/xcode
diff options
context:
space:
mode:
Diffstat (limited to 'xcode')
-rw-r--r--xcode/OLMKit/OLMPkSigning.m2
1 files changed, 2 insertions, 0 deletions
diff --git a/xcode/OLMKit/OLMPkSigning.m b/xcode/OLMKit/OLMPkSigning.m
index e3f1a61..d5c7d09 100644
--- a/xcode/OLMKit/OLMPkSigning.m
+++ b/xcode/OLMKit/OLMPkSigning.m
@@ -72,6 +72,8 @@
return nil;
}
+ [mutableSeed resetBytesInRange:NSMakeRange(0, mutableSeed.length)];
+
NSString *publicKey = [[NSString alloc] initWithData:publicKeyData encoding:NSUTF8StringEncoding];
return publicKey;
}