diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2009-10-19 13:16:01 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2009-10-19 13:16:01 +0000 |
commit | 4a1b71fb0c908f67ce9a517701ad64430472a0e0 (patch) | |
tree | 5e51a8f50892a519efee80f1f55d08ed69f83aa3 /engines/ccgost | |
parent | 19a9d0fceafab283501255bee19d37a35061ea88 (diff) |
PR: 2070
Submitted by: Alexander Nikitovskiy <Nikitovski@ya.ru>
Approved by: steve@openssl.org
Fix wrong cast.
Diffstat (limited to 'engines/ccgost')
-rw-r--r-- | engines/ccgost/gost_crypt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/ccgost/gost_crypt.c b/engines/ccgost/gost_crypt.c index 39bb696446..9c9fed5a7b 100644 --- a/engines/ccgost/gost_crypt.c +++ b/engines/ccgost/gost_crypt.c @@ -371,7 +371,7 @@ static int gost_cipher_do_cnt(EVP_CIPHER_CTX *ctx, unsigned char *out, /* Cleaning up of EVP_CIPHER_CTX */ int gost_cipher_cleanup(EVP_CIPHER_CTX *ctx) { - gost_destroy((gost_ctx *)ctx->cipher_data); + gost_destroy(&((struct ossl_gost_cipher_ctx *)ctx->cipher_data)->cctx); ctx->app_data = NULL; return 1; } |