Now that DES_random_key() can be trusted, use it to generate DES keys in the
authormiod <miod@openbsd.org>
Tue, 22 Jul 2014 18:10:48 +0000 (18:10 +0000)
committermiod <miod@openbsd.org>
Tue, 22 Jul 2014 18:10:48 +0000 (18:10 +0000)
commitfbd2cde0ea0ee9ba9449588ea87fc58cbe0f4723
treea98b83bcd8b6582f98f3aa31894ddab7f75af7a0
parentfe9e927b846fa3204aaa6da1e6e55a8d7d8f859d
Now that DES_random_key() can be trusted, use it to generate DES keys in the
EVP_CTRL_RAND_KEY method handlers, rather than generating a random odd key and
not even checking it against the weak keys list.

ok beck@
lib/libcrypto/evp/e_des.c
lib/libcrypto/evp/e_des3.c
lib/libssl/src/crypto/evp/e_des.c
lib/libssl/src/crypto/evp/e_des3.c