diff options
author | Matt Caswell <matt@openssl.org> | 2020-06-26 20:44:27 +0100 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2020-07-08 08:55:56 +0100 |
commit | 90a74d8c4331c363d68ecd1168bc5344f7ba9be8 (patch) | |
tree | 8c8a1eec81af209ee313342a2bf301c90da1d5c6 /ssl | |
parent | 08a1c9f2e6e28a81936e51019b89e842a1a90b31 (diff) |
Fix an incorrect error flow in add_provider_groups
Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/12292)
Diffstat (limited to 'ssl')
-rw-r--r-- | ssl/t1_lib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ssl/t1_lib.c b/ssl/t1_lib.c index c9097fcc44..41228d58e9 100644 --- a/ssl/t1_lib.c +++ b/ssl/t1_lib.c @@ -334,7 +334,7 @@ static int add_provider_groups(const OSSL_PARAM params[], void *data) p = OSSL_PARAM_locate_const(params, OSSL_CAPABILITY_TLS_GROUP_MAX_TLS); if (p == NULL || !OSSL_PARAM_get_int(p, &ginf->maxtls)) { SSLerr(0, ERR_R_PASSED_INVALID_ARGUMENT); - return 0; + goto err; } p = OSSL_PARAM_locate_const(params, OSSL_CAPABILITY_TLS_GROUP_MIN_DTLS); |