diff options
author | Nick Mathewson <nickm@torproject.org> | 2003-03-19 21:27:21 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2003-03-19 21:27:21 +0000 |
commit | 3a89d27e66ffa28cffc9806ad68023d8cbc6c0d5 (patch) | |
tree | 28749a576b9d3e636320cf829b29b01b7daeb6d1 /src | |
parent | 51ed97504b4d7246537f99993f64fc422d9e5d6d (diff) | |
download | tor-3a89d27e66ffa28cffc9806ad68023d8cbc6c0d5.tar tor-3a89d27e66ffa28cffc9806ad68023d8cbc6c0d5.tar.gz |
Correct defeatest attitude in crypto_new_cipher_env
svn:r201
Diffstat (limited to 'src')
-rw-r--r-- | src/common/crypto.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common/crypto.c b/src/common/crypto.c index a8ecbd9dd..3ddb854f6 100644 --- a/src/common/crypto.c +++ b/src/common/crypto.c @@ -208,6 +208,7 @@ crypto_cipher_env_t *crypto_new_cipher_env(int type) if (key_len && !(env->key = (unsigned char *)malloc(key_len))) goto err; + return env; err: if (env->key) free(env->key); |