Fix no-srp
Reviewed-by: Richard Levitte <levitte@openssl.org> (Merged from https://github.com/openssl/openssl/pull/8850)
This commit is contained in:
parent
1ccf49737c
commit
e8fb288cc5
1 changed files with 1 additions and 4 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue