]> git.ipfire.org Git - thirdparty/tor.git/commit
Zero a cipher completely before freeing it
authorSebastian Hahn <sebastian@torproject.org>
Mon, 22 Feb 2010 10:39:29 +0000 (11:39 +0100)
committerSebastian Hahn <sebastian@torproject.org>
Mon, 22 Feb 2010 10:41:39 +0000 (11:41 +0100)
commitf5112fa48754b33aa46c1bf79e11cf400d5084a8
tree78ccf646386137d5e18037e1de4b318eb20f5d64
parenta7e0b2d6d9f7aaca005d267af6950abe4dd74d89
Zero a cipher completely before freeing it

We used to only zero the first ptrsize bytes of the cipher. Since
cipher is large enough, we didn't zero too many bytes. Discovered
and fixed by ekir. Fixes bug 1254.
ChangeLog
src/common/aes.c