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:
6b77e6d
)
mode used too early in EVP_PKEY_save_parameters.
author
Richard Levitte
<levitte@openssl.org>
Mon, 6 Nov 2000 21:12:21 +0000
(21:12 +0000)
committer
Richard Levitte
<levitte@openssl.org>
Mon, 6 Nov 2000 21:12:21 +0000
(21:12 +0000)
Spotted by Ken Lalonde <ken@torus.ca>
crypto/evp/p_lib.c
patch
|
blob
|
history
diff --git
a/crypto/evp/p_lib.c
b/crypto/evp/p_lib.c
index 62398ed74dcd9edabdccd4741b745440d278d261..14af3198dc1ccb346ed9cc24e4c2defe73df4ef4 100644
(file)
--- a/
crypto/evp/p_lib.c
+++ b/
crypto/evp/p_lib.c
@@
-99,7
+99,7
@@
int EVP_PKEY_save_parameters(EVP_PKEY *pkey, int mode)
#ifndef NO_DSA
if (pkey->type == EVP_PKEY_DSA)
{
- int ret=pkey->save_parameters
=mode
;
+ int ret=pkey->save_parameters;
if (mode >= 0)
pkey->save_parameters=mode;