]> git.ipfire.org Git - thirdparty/openssl.git/blobdiff - test/sslapitest.c
Enable SSL_MODE_AUTO_RETRY by default
[thirdparty/openssl.git] / test / sslapitest.c
index f2978aa0786ef76d2331139405d0cd458e7bb291..10bfc8ac14d6ce3ef8238b6ee0959c047ae66967 100644 (file)
@@ -2351,15 +2351,6 @@ static int test_early_data_not_sent(int idx)
             || !TEST_size_t_eq(written, strlen(MSG2)))
         goto end;
 
-    /*
-     * Should block due to the NewSessionTicket arrival unless we're using
-     * read_ahead, or PSKs
-     */
-    if (idx != 1 && idx != 2) {
-        if (!TEST_false(SSL_read_ex(clientssl, buf, sizeof(buf), &readbytes)))
-            goto end;
-    }
-
     if (!TEST_true(SSL_read_ex(clientssl, buf, sizeof(buf), &readbytes))
             || !TEST_mem_eq(buf, readbytes, MSG2, strlen(MSG2)))
         goto end;