| /src/crypto/external/apache2/openssl/dist/test/ |
| fatalerrtest.c | 22 SSL *sssl = NULL, *cssl = NULL; local 46 || !TEST_true(create_ssl_objects(sctx, cctx, &sssl, &cssl, NULL, 57 if (!TEST_false(create_ssl_connection(sssl, cssl, SSL_ERROR_NONE))) 67 if (!TEST_int_le(len = SSL_read(sssl, buf, sizeof(buf) - 1), 0)) { 72 if (!TEST_int_le(SSL_write(sssl, msg, strlen(msg)), 0)) 77 SSL_free(sssl);
|
| dtlstest.c | 476 SSL *sssl = NULL, *cssl = NULL; local 499 if (!TEST_true(create_ssl_objects(sctx, cctx, &sssl, &cssl, 508 if (!TEST_int_le(SSL_accept(sssl), 0)) 524 if (!TEST_int_gt(SSL_accept(sssl), 0)) 528 if (!TEST_int_eq(SSL_write(sssl, msg, sizeof(msg)), (int)sizeof(msg))) 531 bio = SSL_get_wbio(sssl); 544 bio = SSL_get_wbio(sssl); 578 SSL_free(sssl); 588 SSL *sssl = NULL, *cssl = NULL; local 612 if (!TEST_true(create_ssl_objects(sctx, cctx, &sssl, &cssl [all...] |
| tls13ccstest.c | 248 SSL *sssl = NULL, *cssl = NULL; local 305 if (!TEST_true(create_ssl_objects(sctx, cctx, &sssl, &cssl, NULL, NULL)) 306 || !TEST_true(create_ssl_connection(sssl, cssl, SSL_ERROR_NONE))) 312 SSL_shutdown(sssl); 313 SSL_free(sssl); 315 sssl = cssl = NULL; 341 if (!TEST_true(create_ssl_objects(sctx, cctx, &sssl, &cssl, s_to_c_fbio, 351 && !TEST_int_eq(SSL_read_early_data(sssl, buf, sizeof(buf), 362 if (!TEST_int_eq(SSL_read_early_data(sssl, buf, sizeof(buf), 369 if (!TEST_true(create_ssl_connection(sssl, cssl, SSL_ERROR_NONE)) [all...] |
| /src/crypto/external/bsd/openssl/dist/test/ |
| fatalerrtest.c | 22 SSL *sssl = NULL, *cssl = NULL; local 46 || !TEST_true(create_ssl_objects(sctx, cctx, &sssl, &cssl, NULL, 57 if (!TEST_false(create_ssl_connection(sssl, cssl, SSL_ERROR_NONE))) 67 if (!TEST_int_le(len = SSL_read(sssl, buf, sizeof(buf) - 1), 0)) { 72 if (!TEST_int_le(SSL_write(sssl, msg, strlen(msg)), 0)) 77 SSL_free(sssl);
|
| dtlstest.c | 475 SSL *sssl = NULL, *cssl = NULL; local 498 if (!TEST_true(create_ssl_objects(sctx, cctx, &sssl, &cssl, 507 if (!TEST_int_le(SSL_accept(sssl), 0)) 523 if (!TEST_int_gt(SSL_accept(sssl), 0)) 527 if (!TEST_int_eq(SSL_write(sssl, msg, sizeof(msg)), (int)sizeof(msg))) 530 bio = SSL_get_wbio(sssl); 543 bio = SSL_get_wbio(sssl); 577 SSL_free(sssl);
|
| tls13ccstest.c | 246 SSL *sssl = NULL, *cssl = NULL; local 303 if (!TEST_true(create_ssl_objects(sctx, cctx, &sssl, &cssl, NULL, NULL)) 304 || !TEST_true(create_ssl_connection(sssl, cssl, SSL_ERROR_NONE))) 310 SSL_shutdown(sssl); 311 SSL_free(sssl); 313 sssl = cssl = NULL; 339 if (!TEST_true(create_ssl_objects(sctx, cctx, &sssl, &cssl, s_to_c_fbio, 349 && !TEST_int_eq(SSL_read_early_data(sssl, buf, sizeof(buf), 360 if (!TEST_int_eq(SSL_read_early_data(sssl, buf, sizeof(buf), 367 if (!TEST_true(create_ssl_connection(sssl, cssl, SSL_ERROR_NONE)) [all...] |
| /src/crypto/external/bsd/openssl.old/dist/test/ |
| fatalerrtest.c | 22 SSL *sssl = NULL, *cssl = NULL; local 46 || !TEST_true(create_ssl_objects(sctx, cctx, &sssl, &cssl, NULL, 57 if (!TEST_false(create_ssl_connection(sssl, cssl, SSL_ERROR_NONE))) 67 if (!TEST_int_le(len = SSL_read(sssl, buf, sizeof(buf) - 1), 0)) { 72 if (!TEST_int_le(SSL_write(sssl, msg, strlen(msg)), 0)) 77 SSL_free(sssl);
|
| dtlstest.c | 338 SSL *sssl = NULL, *cssl = NULL; local 361 if (!TEST_true(create_ssl_objects(sctx, cctx, &sssl, &cssl, 370 if (!TEST_int_le(SSL_accept(sssl), 0)) 378 if (!TEST_int_gt(SSL_accept(sssl), 0)) 382 if (!TEST_int_eq(SSL_write(sssl, msg, sizeof(msg)), (int)sizeof(msg))) 385 bio = SSL_get_wbio(sssl); 412 SSL_free(sssl);
|
| tls13ccstest.c | 246 SSL *sssl = NULL, *cssl = NULL; local 303 if (!TEST_true(create_ssl_objects(sctx, cctx, &sssl, &cssl, NULL, NULL)) 304 || !TEST_true(create_ssl_connection(sssl, cssl, SSL_ERROR_NONE))) 310 SSL_shutdown(sssl); 311 SSL_free(sssl); 313 sssl = cssl = NULL; 332 if (!TEST_true(create_ssl_objects(sctx, cctx, &sssl, &cssl, s_to_c_fbio, 342 && !TEST_int_eq(SSL_read_early_data(sssl, buf, sizeof(buf), 353 if (!TEST_int_eq(SSL_read_early_data(sssl, buf, sizeof(buf), 360 if (!TEST_true(create_ssl_connection(sssl, cssl, SSL_ERROR_NONE)) [all...] |