From 831933425b3406310e70476dc56e822f7ae3c549 Mon Sep 17 00:00:00 2001 From: Riccardo Spagni Date: Thu, 4 Dec 2014 23:10:49 +0200 Subject: update unbound from upstream --- external/unbound/testcode/petal.c | 1 + 1 file changed, 1 insertion(+) (limited to 'external/unbound/testcode/petal.c') diff --git a/external/unbound/testcode/petal.c b/external/unbound/testcode/petal.c index 0bdcc4190..964735b39 100644 --- a/external/unbound/testcode/petal.c +++ b/external/unbound/testcode/petal.c @@ -235,6 +235,7 @@ setup_ctx(char* key, char* cert) SSL_CTX* ctx = SSL_CTX_new(SSLv23_server_method()); if(!ctx) print_exit("out of memory"); (void)SSL_CTX_set_options(ctx, SSL_OP_NO_SSLv2); + (void)SSL_CTX_set_options(ctx, SSL_OP_NO_SSLv3); if(!SSL_CTX_use_certificate_file(ctx, cert, SSL_FILETYPE_PEM)) print_exit("cannot read cert"); if(!SSL_CTX_use_PrivateKey_file(ctx, key, SSL_FILETYPE_PEM)) -- cgit v1.2.3