forked from pool/openssl
20 lines
549 B
Diff
20 lines
549 B
Diff
#254905, #262477
|
|
|
|
http://cvs.openssl.org/chngview?cn=15978
|
|
|
|
EVP_CIPHER_CTX_key_length() should return the set key length in the
|
|
EVP_CIPHER_CTX structure which may not be the same as the underlying
|
|
cipher key length for variable length ciphers.
|
|
|
|
--- a/crypto/evp/evp_lib.c 2006/11/29 20:47:13 1.10.2.1
|
|
+++ b/crypto/evp/evp_lib.c 2007/02/27 18:42:52 1.10.2.2
|
|
@@ -225,7 +225,7 @@
|
|
|
|
int EVP_CIPHER_CTX_key_length(const EVP_CIPHER_CTX *ctx)
|
|
{
|
|
- return ctx->cipher->key_len;
|
|
+ return ctx->key_len;
|
|
}
|
|
|
|
int EVP_CIPHER_nid(const EVP_CIPHER *cipher)
|