summaryrefslogtreecommitdiffstats
path: root/libtomcrypt
diff options
context:
space:
mode:
authorMiloslav Trmač <mitr@redhat.com>2010-07-09 06:26:48 +0200
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2010-07-19 09:21:25 +0200
commit488c0d60ca3a86176b1a263630701a641b608eb6 (patch)
tree49fb58aedc599227454c6dc6ec6a52db36e4df1b /libtomcrypt
parent15f3c611f8d31cc0fc973481ffa3aec420ed004a (diff)
downloadcryptodev-linux-488c0d60ca3a86176b1a263630701a641b608eb6.tar.gz
cryptodev-linux-488c0d60ca3a86176b1a263630701a641b608eb6.tar.xz
cryptodev-linux-488c0d60ca3a86176b1a263630701a641b608eb6.zip
Fix cipher_data deinitialization.
Guard crypto API *free* with "if (ptr)"; it works without the guards, but that seems to be an implementation detail - at least in the case of crypto_ablkcipher. Free them in the opposite order of allocation, async.request points to async.result and async.s.
Diffstat (limited to 'libtomcrypt')
0 files changed, 0 insertions, 0 deletions