]> andersk Git - openssh.git/blobdiff - cipher.c
- (dtucker) [cipher.c] encrypt->do_encrypt inside SSH_OLD_EVP to match
[openssh.git] / cipher.c
index 255f840a39df050d07d3e000a1b9e9a438985e2d..64bd744b86b205446071a2b6cd12c01c7f2c7adb 100644 (file)
--- 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)
This page took 0.085829 seconds and 4 git commands to generate.