Skip to content
Snippets Groups Projects
Commit ded15597 authored by manuroe's avatar manuroe
Browse files

OLMKit: Reset intermediate buffer to zeroes

parent 885b85f5
No related branches found
No related tags found
No related merge requests found
......@@ -204,6 +204,7 @@
return nil;
}
NSString *keyString = [[NSString alloc] initWithData:key encoding:NSUTF8StringEncoding];
[key resetBytesInRange:NSMakeRange(0, key.length)];
return keyString;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment