Update from stable branch.
authorDr. Stephen Henson <steve@openssl.org>
Tue, 27 Feb 2007 18:43:42 +0000 (18:43 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Tue, 27 Feb 2007 18:43:42 +0000 (18:43 +0000)
crypto/evp/evp_lib.c

index 745475bebcd4892499a7e0082d96de774c2786b0..e4d5b682f3c92b822e7f13cc15d2567a3cc34872 100644 (file)
@@ -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)