diff options
author | Richard Levitte <levitte@openssl.org> | 2000-11-06 21:12:21 +0000 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2000-11-06 21:12:21 +0000 |
commit | bc8a9f1f0fa10e75a8a3610d870c37d742cb0eb7 (patch) | |
tree | 6562e1d9bb2301b80a34773f26e6aba81f193b71 /crypto | |
parent | 6b77e6d7f31e45470fb7776b9b4157bb3476ac28 (diff) |
mode used too early in EVP_PKEY_save_parameters.
Spotted by Ken Lalonde <ken@torus.ca>
Diffstat (limited to 'crypto')
-rw-r--r-- | crypto/evp/p_lib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/evp/p_lib.c b/crypto/evp/p_lib.c index 62398ed74d..14af3198dc 100644 --- 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; |