Typo.
authorDr. Stephen Henson <steve@openssl.org>
Sat, 10 Oct 2015 23:06:56 +0000 (00:06 +0100)
committerDr. Stephen Henson <steve@openssl.org>
Sat, 10 Oct 2015 23:06:56 +0000 (00:06 +0100)
PR#4079

Reviewed-by: Tim Hudson <tjh@openssl.org>
crypto/evp/e_des3.c

index 715686350e8a53b795c922452bfa35b0130b1b2f..db36634074e9d8d3e04bf003a8b2b3da3a793170 100644 (file)
@@ -271,7 +271,7 @@ static int des_ede_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key,
 # endif
 # ifdef EVP_CHECK_DES_KEY
     if (DES_set_key_checked(&deskey[0], &dat->ks1)
-        ! !DES_set_key_checked(&deskey[1], &dat->ks2))
+        || DES_set_key_checked(&deskey[1], &dat->ks2))
         return 0;
 # else
     DES_set_key_unchecked(&deskey[0], &dat->ks1);