If a server is not acknowledging SNI then don't reject early_data
[openssl.git] / ssl / statem / extensions.c
index 1c3414127a330f4de50e4c779df078627af5125b..a72859c873da4f1caf393c25eb9d4b3bf678e6b9 100644 (file)
@@ -911,8 +911,6 @@ static int final_server_name(SSL *s, unsigned int context, int sent,
 
     case SSL_TLSEXT_ERR_NOACK:
         s->servername_done = 0;
-        if (s->server && s->session->ext.hostname != NULL)
-            s->ext.early_data_ok = 0;
         return 1;
 
     default: