diff --git a/src/ssl_sock.c b/src/ssl_sock.c
index da99a30..01b674a 100644
--- a/src/ssl_sock.c
+++ b/src/ssl_sock.c
@@ -1507,8 +1507,12 @@ int ssl_sock_prepare_ctx(struct bind_conf *bind_conf, SSL_CTX *ctx, struct proxy
 		ssloptions |= SSL_OP_NO_TICKET;
 	if (bind_conf->ssl_options & BC_SSL_O_USE_SSLV3)
 		SSL_CTX_set_ssl_version(ctx, SSLv3_server_method());
-	if (bind_conf->ssl_options & BC_SSL_O_USE_TLSV10)
-		SSL_CTX_set_ssl_version(ctx, TLSv1_server_method());
+	if (bind_conf->ssl_options & BC_SSL_O_USE_TLSV10) {
+		if(!SSL_CTX_set_ssl_version(ctx, TLSv1_server_method())) {
+			Alert("Can't force TLSv1.0!\n");
+			cfgerr++;
+		}
+	}
 #if SSL_OP_NO_TLSv1_1
 	if (bind_conf->ssl_options & BC_SSL_O_USE_TLSV11)
 		SSL_CTX_set_ssl_version(ctx, TLSv1_1_server_method());
