diff options
author | Geoff Thorpe <geoff@openssl.org> | 2001-04-30 15:24:41 +0000 |
---|---|---|
committer | Geoff Thorpe <geoff@openssl.org> | 2001-04-30 15:24:41 +0000 |
commit | 7ae551fd03b447e41d3a74e803a711350383ebc4 (patch) | |
tree | f0052965089d923ade8bb8bd45fe8afd28d5b466 /crypto/dsa | |
parent | c2e45f6ddf9219735e85d9b658a94e42c37ec0a2 (diff) | |
download | openssl-7ae551fd03b447e41d3a74e803a711350383ebc4.tar.gz |
In RSA, DSA, DH, and RAND - if the "***_new()" function fails because the
ENGINE code does not return a default, set an error.
Diffstat (limited to 'crypto/dsa')
-rw-r--r-- | crypto/dsa/dsa_lib.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/dsa/dsa_lib.c b/crypto/dsa/dsa_lib.c index 2abdd08c90..1b33705f46 100644 --- a/crypto/dsa/dsa_lib.c +++ b/crypto/dsa/dsa_lib.c @@ -152,6 +152,7 @@ DSA *DSA_new_method(ENGINE *engine) { if((ret->engine=ENGINE_get_default_DSA()) == NULL) { + DSAerr(DSA_F_DSA_NEW,ERR_LIB_ENGINE); OPENSSL_free(ret); return NULL; } |