summary refs log tree commit diff
path: root/tls_server.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--tls_server.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/tls_server.c b/tls_server.c
index 0a8ec47..831255a 100644
--- a/tls_server.c
+++ b/tls_server.c
@@ -15,6 +15,7 @@
  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
+#include <string.h>
 #include <sys/socket.h>
 
 #include <arpa/inet.h>
@@ -219,8 +220,6 @@ tls_configure_server_ssl(struct tls *ctx, SSL_CTX **ssl_ctx,
 		goto err;
 	}
 
-	SSL_CTX_set_options(*ssl_ctx, SSL_OP_NO_CLIENT_RENEGOTIATION);
-
 	if (SSL_CTX_set_tlsext_servername_callback(*ssl_ctx,
 	    tls_servername_cb) != 1) {
 		tls_set_error(ctx, "failed to set servername callback");