A simple typo in des_ede_init_key. See the attached patch

diff -r -u crypto/evp/e_des3.c crypto/evp/e_des3.c
--- crypto/evp/e_des3.c 2015-03-19 14:30:36.000000000 +0100
+++ crypto/evp/e_des3.c 2015-05-07 16:05:04.000000000 +0200
@@ -289,7 +289,7 @@
 # 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);
_______________________________________________
openssl-dev mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev

Reply via email to