Fix the incorrect checks of EVP_CIPHER_CTX_rand_key