From 6e7ca5e1ebf9e158ad0fc061e0052c0eb94b254a Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Tue, 27 Feb 2007 18:43:42 +0000 Subject: Update from stable branch. --- crypto/evp/evp_lib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crypto/evp/evp_lib.c') diff --git a/crypto/evp/evp_lib.c b/crypto/evp/evp_lib.c index 745475bebc..e4d5b682f3 100644 --- a/crypto/evp/evp_lib.c +++ b/crypto/evp/evp_lib.c @@ -225,7 +225,7 @@ int EVP_CIPHER_key_length(const EVP_CIPHER *cipher) 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) -- cgit v1.2.3