diff options
author | Nick Mathewson <nickm@torproject.org> | 2008-03-11 18:56:41 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2008-03-11 18:56:41 +0000 |
commit | 11e464c3312cb2813ce326fd83ea88364edb0f4a (patch) | |
tree | a83fd52d435ab9e166893b8870d8d8f76595b87f /src/common/aes.c | |
parent | 4d32c2e81f25668bc74fc879c2be62f018690b4e (diff) | |
download | tor-11e464c3312cb2813ce326fd83ea88364edb0f4a.tar.gz tor-11e464c3312cb2813ce326fd83ea88364edb0f4a.zip |
r18753@catbus: nickm | 2008-03-11 14:56:39 -0400
Make some assert()s into tor_assert()s. Make some tor_assert()s called from logging into assert()s, and document why.
svn:r13977
Diffstat (limited to 'src/common/aes.c')
-rw-r--r-- | src/common/aes.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/aes.c b/src/common/aes.c index 3a17af7f33..52b28b24ae 100644 --- a/src/common/aes.c +++ b/src/common/aes.c @@ -265,7 +265,7 @@ aes_set_key(aes_cnt_cipher_t *cipher, const char *key, int key_bits) void aes_free_cipher(aes_cnt_cipher_t *cipher) { - assert(cipher); + tor_assert(cipher); #ifdef USE_OPENSSL_EVP EVP_CIPHER_CTX_cleanup(&cipher->key); #endif |