1
0
Fork 0
mirror of https://repo.or.cz/socat.git synced 2025-07-08 21:36:34 +00:00

Print CRL warning only once

This commit is contained in:
Gerhard Rieger 2024-08-22 18:18:52 +02:00
parent c4f569e367
commit 47b98aed7a
5 changed files with 16 additions and 5 deletions

View file

@ -1456,7 +1456,10 @@ cont_out:
sycSSL_CTX_set_verify(ctx,
SSL_VERIFY_PEER| SSL_VERIFY_FAIL_IF_NO_PEER_CERT,
NULL);
Warn("OpenSSL: Warning: this implementation does not check CRLs");
if (first_child) {
/* The first forked off process, print the warning only once */
Warn("OpenSSL: Warning: this implementation does not check CRLs");
}
} else {
sycSSL_CTX_set_verify(ctx,
SSL_VERIFY_NONE,