From: Matt Caswell Date: Tue, 30 Apr 2019 12:49:25 +0000 (+0100) Subject: Fix no-srp X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e8fb288cc5057bb198a7f1c6e46f3b64b5d7a476;p=openssl Fix no-srp Reviewed-by: Richard Levitte (Merged from https://github.com/openssl/openssl/pull/8850) --- diff --git a/ssl/s3_lib.c b/ssl/s3_lib.c index 4ed9894d52..5ea2c2d029 100644 --- a/ssl/s3_lib.c +++ b/ssl/s3_lib.c @@ -3292,18 +3292,15 @@ int ssl3_handshake_write(SSL *s) int ssl3_new(SSL *s) { - #ifndef OPENSSL_NO_SRP if (!SSL_SRP_CTX_init(s)) - goto err; + return 0; #endif if (!s->method->ssl_clear(s)) return 0; return 1; - err: - return 0; } void ssl3_free(SSL *s)