Skip to content

Commit 1d11cfa

Browse files
committed
fixup! tls ocsp: support lazy cert loading with ocsp stapling
1 parent 39d368b commit 1d11cfa

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/api.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7547,7 +7547,7 @@ int test_ssl_memio_setup(test_ssl_memio_ctx *ctx)
75477547
}
75487548
if (*clientKeyFile != '\0') {
75497549
ExpectIntEQ(wolfSSL_CTX_use_PrivateKey_file(ctx->c_ctx, clientKeyFile,
7550-
WOLFSSL_FILETYPE_PEM), WOLFSSL_SUCCESS);
7550+
CERT_FILETYPE), WOLFSSL_SUCCESS);
75517551
}
75527552
}
75537553
#ifdef HAVE_CRL
@@ -7634,7 +7634,7 @@ int test_ssl_memio_setup(test_ssl_memio_ctx *ctx)
76347634
{
76357635
if (*serverKeyFile != '\0') {
76367636
ExpectIntEQ(wolfSSL_CTX_use_PrivateKey_file(ctx->s_ctx, serverKeyFile,
7637-
WOLFSSL_FILETYPE_PEM), WOLFSSL_SUCCESS);
7637+
CERT_FILETYPE), WOLFSSL_SUCCESS);
76387638
}
76397639
}
76407640
if (ctx->s_ciphers != NULL) {
@@ -7660,7 +7660,7 @@ int test_ssl_memio_setup(test_ssl_memio_ctx *ctx)
76607660
}
76617661
if (*clientKeyFile != '\0') {
76627662
ExpectIntEQ(wolfSSL_use_PrivateKey_file(ctx->c_ssl, clientKeyFile,
7663-
WOLFSSL_FILETYPE_PEM), WOLFSSL_SUCCESS);
7663+
CERT_FILETYPE), WOLFSSL_SUCCESS);
76647664
}
76657665
}
76667666
#endif
@@ -7682,7 +7682,7 @@ int test_ssl_memio_setup(test_ssl_memio_ctx *ctx)
76827682
}
76837683
if (*serverKeyFile != '\0') {
76847684
ExpectIntEQ(wolfSSL_use_PrivateKey_file(ctx->s_ssl, serverKeyFile,
7685-
WOLFSSL_FILETYPE_PEM), WOLFSSL_SUCCESS);
7685+
CERT_FILETYPE), WOLFSSL_SUCCESS);
76867686
}
76877687
}
76887688
#endif

0 commit comments

Comments
 (0)