Skip to content

Commit

Permalink
Preprocessor flag to disable SSLv3.
Browse files Browse the repository at this point in the history
Submitted by Jérémie Courrèges-Anglas, this is apparently needed for
openBSD.
  • Loading branch information
smimram committed Aug 28, 2015
1 parent d0a6c39 commit 8f698ba
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/ssl_stubs.c
Original file line number Diff line number Diff line change
Expand Up @@ -289,6 +289,7 @@ static const SSL_METHOD *get_method(int protocol, int type)
}
break;

#ifndef OPENSSL_NO_SSL3
case 1:
switch (type)
{
Expand All @@ -305,6 +306,7 @@ static const SSL_METHOD *get_method(int protocol, int type)
break;
}
break;
#endif

case 2:
switch (type)
Expand Down

0 comments on commit 8f698ba

Please sign in to comment.