projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5b2b60a
)
PR: 2070
author
Dr. Stephen Henson
<steve@openssl.org>
Mon, 19 Oct 2009 13:13:14 +0000
(13:13 +0000)
committer
Dr. Stephen Henson
<steve@openssl.org>
Mon, 19 Oct 2009 13:13:14 +0000
(13:13 +0000)
Submitted by: Alexander Nikitovskiy <Nikitovski@ya.ru>
Approved by: steve@openssl.org
Fix wrong cast.
engines/ccgost/gost_crypt.c
patch
|
blob
|
history
diff --git
a/engines/ccgost/gost_crypt.c
b/engines/ccgost/gost_crypt.c
index 39bb6964469b203e8a426aa9ae3030d11a71888c..9c9fed5a7b1f77318ed19c18f4c8c982dcbef979 100644
(file)
--- 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;
}