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:
parent
c4f569e367
commit
47b98aed7a
5 changed files with 16 additions and 5 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue