diff --git a/pjlib/src/pj/ssl_sock_ossl.c b/pjlib/src/pj/ssl_sock_ossl.c index 5017d7550e..ec01435bdc 100644 --- a/pjlib/src/pj/ssl_sock_ossl.c +++ b/pjlib/src/pj/ssl_sock_ossl.c @@ -1842,7 +1842,9 @@ static pj_status_t set_cipher_list(pj_ssl_sock_t *ssock) * SSL_CTX_set_ciphersuites() is for TLSv1.3. */ ret = SSL_CTX_set_cipher_list(ossock->ossl_ctx, buf); +#if !USING_BORINGSSL ret2 = SSL_CTX_set_ciphersuites(ossock->ossl_ctx, buf); +#endif if (ret < 1 && ret2 < 1) { PJ_LOG(4, (THIS_FILE, "Failed setting cipher list %s", cipher_list.ptr));