mirror of
https://repo.or.cz/socat.git
synced 2025-07-08 13:36:32 +00:00
Made code async-signal-safe
This commit is contained in:
parent
e4c6f3d934
commit
2af0495cc6
25 changed files with 1707 additions and 625 deletions
6
sslcls.c
6
sslcls.c
|
@ -1,5 +1,5 @@
|
|||
/* source: sslcls.c */
|
||||
/* Copyright Gerhard Rieger 2001-2011 */
|
||||
/* Copyright Gerhard Rieger */
|
||||
/* Published under the GNU General Public License V.2, see file COPYING */
|
||||
|
||||
/* explicit system call and C library trace function, for those who miss strace
|
||||
|
@ -123,8 +123,8 @@ int sycSSL_CTX_load_verify_locations(SSL_CTX *ctx, const char *CAfile,
|
|||
const char *CApath) {
|
||||
int result;
|
||||
Debug7("SSL_CTX_load_verify_locations(%p, %s%s%s, %s%s%s)", ctx,
|
||||
CAfile?"\"":"", CAfile?CAfile:NULL, CAfile?"\"":"",
|
||||
CApath?"\"":"", CApath?CApath:NULL, CApath?"\"":"");
|
||||
CAfile?"\"":"", CAfile?CAfile:"", CAfile?"\"":"",
|
||||
CApath?"\"":"", CApath?CApath:"", CApath?"\"":"");
|
||||
result = SSL_CTX_load_verify_locations(ctx, CAfile, CApath);
|
||||
Debug1("SSL_CTX_load_verify_locations() -> %d", result);
|
||||
return result;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue