diff options
author | Andy Polyakov <appro@openssl.org> | 2013-12-18 21:42:46 +0100 |
---|---|---|
committer | Andy Polyakov <appro@openssl.org> | 2013-12-18 21:42:46 +0100 |
commit | e9c80e04c1a3b5a0de8e666155ab4ecb2697a77d (patch) | |
tree | adf7474c58260c85be16c695c252c187c5e67e1e /crypto/evp/e_camellia.c | |
parent | f0f4b8f1262faae978274048adc3019f75d472d2 (diff) | |
download | openssl-new-e9c80e04c1a3b5a0de8e666155ab4ecb2697a77d.tar.gz |
evp/e_[aes|camellia].c: fix typo in CBC subroutine.
It worked because it was never called.
Diffstat (limited to 'crypto/evp/e_camellia.c')
-rw-r--r-- | crypto/evp/e_camellia.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/evp/e_camellia.c b/crypto/evp/e_camellia.c index 1b758c73fc..d6f4a586f6 100644 --- a/crypto/evp/e_camellia.c +++ b/crypto/evp/e_camellia.c @@ -305,7 +305,7 @@ static int camellia_cbc_cipher(EVP_CIPHER_CTX *ctx,unsigned char *out, else if (ctx->encrypt) CRYPTO_cbc128_encrypt(in,out,len,&dat->ks,ctx->iv,dat->block); else - CRYPTO_cbc128_encrypt(in,out,len,&dat->ks,ctx->iv,dat->block); + CRYPTO_cbc128_decrypt(in,out,len,&dat->ks,ctx->iv,dat->block); return 1; } |