aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/evp/evp_lib.c
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2007-02-27 18:43:42 +0000
committerDr. Stephen Henson <steve@openssl.org>2007-02-27 18:43:42 +0000
commit6e7ca5e1ebf9e158ad0fc061e0052c0eb94b254a (patch)
treec319d1785fd2376a0e9a2dc7374a5d4d57caafff /crypto/evp/evp_lib.c
parent954b274789537ece74601179b4ff74512c12de51 (diff)
downloadopenssl-6e7ca5e1ebf9e158ad0fc061e0052c0eb94b254a.tar.gz
Update from stable branch.
Diffstat (limited to 'crypto/evp/evp_lib.c')
-rw-r--r--crypto/evp/evp_lib.c2
1 files changed, 1 insertions, 1 deletions
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)