summaryrefslogtreecommitdiffstats
path: root/cipher.c
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2004-06-23 12:28:31 +1000
committerDarren Tucker <dtucker@zip.com.au>2004-06-23 12:28:31 +1000
commite5a604fdd4410e18bbb148e39c00551f6b4c3d73 (patch)
tree0206659a86c120a907ba169d254a632e5a43b0fc /cipher.c
parent3b9c0adaab5736a1b9f5d69a3bf471ff46b8b88f (diff)
- (dtucker) [cipher.c] encrypt->do_encrypt inside SSH_OLD_EVP to match
-Wshadow change.
Diffstat (limited to 'cipher.c')
-rw-r--r--cipher.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cipher.c b/cipher.c
index 255f840a..64bd744b 100644
--- a/cipher.c
+++ b/cipher.c
@@ -252,7 +252,7 @@ cipher_init(CipherContext *cc, Cipher *cipher,
type->key_len = keylen;
}
EVP_CipherInit(&cc->evp, type, (u_char *)key, (u_char *)iv,
- (encrypt == CIPHER_ENCRYPT));
+ (do_encrypt == CIPHER_ENCRYPT));
#else
if (EVP_CipherInit(&cc->evp, type, NULL, (u_char *)iv,
(do_encrypt == CIPHER_ENCRYPT)) == 0)