evp/e_des3.c: address compiler warning.
authorAndy Polyakov <appro@openssl.org>
Thu, 18 Feb 2016 13:08:55 +0000 (14:08 +0100)
committerAndy Polyakov <appro@openssl.org>
Fri, 19 Feb 2016 12:34:42 +0000 (13:34 +0100)
In backporting from master one modification was mistreated.

RT#4210

Reviewed-by: Matt Caswell <matt@openssl.org>
crypto/evp/e_des3.c

index f006d1b9266591961173b8cbe96ad99f79d929ac..0e910d6d8085b902ac9dac181c5d94585ded51bf 100644 (file)
@@ -163,7 +163,7 @@ static int des_ede_cbc_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out,
     }
 # endif                         /* KSSL_DEBUG */
     if (dat->stream.cbc) {
-        (*dat->stream.cbc) (in, out, inl, &dat->ks, ctx->iv);
+        (*dat->stream.cbc) (in, out, inl, dat->ks.ks, ctx->iv);
         return 1;
     }