Skip to content

Commit

Permalink
Fix no-srp
Browse files Browse the repository at this point in the history
Reviewed-by: Richard Levitte <[email protected]>
(Merged from openssl#8850)
  • Loading branch information
mattcaswell committed May 1, 2019
1 parent 1ccf497 commit e8fb288
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions ssl/s3_lib.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit e8fb288

Please sign in to comment.