diff options
author | Roger Dingledine <arma@torproject.org> | 2003-04-16 23:22:05 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2003-04-16 23:22:05 +0000 |
commit | fe1aba7f15405193e2359e4364b221c157f11a43 (patch) | |
tree | 0b4ff616170c703075174d9230e833c2722138a9 /src/common/crypto.c | |
parent | f39ca8a3aa6f40562f359ebb9413b0fe8d15a44b (diff) | |
download | tor-fe1aba7f15405193e2359e4364b221c157f11a43.tar.gz tor-fe1aba7f15405193e2359e4364b221c157f11a43.zip |
more cleanup
svn:r242
Diffstat (limited to 'src/common/crypto.c')
-rw-r--r-- | src/common/crypto.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/common/crypto.c b/src/common/crypto.c index 626e2c48e3..177ae79499 100644 --- a/src/common/crypto.c +++ b/src/common/crypto.c @@ -599,8 +599,8 @@ int crypto_cipher_encrypt_init_cipher(crypto_cipher_env_t *env) if (crypto_cipher_evp_cipher(env->type, 1)) { RETURN_SSL_OUTCOME(EVP_EncryptInit((EVP_CIPHER_CTX *)env->aux, - crypto_cipher_evp_cipher(env->type, 1), - env->key, env->iv)); + crypto_cipher_evp_cipher(env->type, 1), + env->key, env->iv)); } else { return -1; } @@ -612,8 +612,8 @@ int crypto_cipher_decrypt_init_cipher(crypto_cipher_env_t *env) if (crypto_cipher_evp_cipher(env->type, 0)) { RETURN_SSL_OUTCOME(EVP_EncryptInit((EVP_CIPHER_CTX *)env->aux, - crypto_cipher_evp_cipher(env->type, 0), - env->key, env->iv)); + crypto_cipher_evp_cipher(env->type, 0), + env->key, env->iv)); } else { return -1; } |