cmake.yml: fix error and run tests with ctest

This commit is contained in:
Juliusz Sosinowicz
2025-02-12 10:56:31 +01:00
committed by Daniel Pouzzner
parent 825ca22bd8
commit 7380ec68bb
4 changed files with 22 additions and 2 deletions

View File

@@ -3280,7 +3280,7 @@ THREAD_RETURN WOLFSSL_THREAD client_test(void* args)
#ifdef WOLFSSL_SRTP
if (dtlsSrtpProfiles != NULL) {
if (wolfSSL_CTX_set_tlsext_use_srtp(ctx, dtlsSrtpProfiles)
!= WOLFSSL_SUCCESS) {
!= 0) {
err_sys("unable to set DTLS SRTP profile");
}
}

View File

@@ -2680,7 +2680,7 @@ THREAD_RETURN WOLFSSL_THREAD server_test(void* args)
#ifdef WOLFSSL_SRTP
if (dtlsSrtpProfiles != NULL) {
if (wolfSSL_CTX_set_tlsext_use_srtp(ctx, dtlsSrtpProfiles)
!= WOLFSSL_SUCCESS) {
!= 0) {
err_sys_ex(catastrophic, "unable to set DTLS SRTP profile");
}
}