ucspi-ssl
0.13.04
ucspi-ssl
Loading...
Searching...
No Matches
ucspi-ssl-0.13.04
src
ssl_ca.c
Go to the documentation of this file.
1
#include "
ucspissl.h
"
2
3
int
ssl_ca
(SSL_CTX *
ctx
,
const
char
*
certfile
,
const
char
*certdir,
int
d)
4
{
5
if
(!SSL_CTX_load_verify_locations(
ctx
,
certfile
,certdir))
return
0;
6
7
SSL_CTX_set_verify_depth(
ctx
,d);
8
9
return
1;
10
}
11
ssl_ca
int ssl_ca(SSL_CTX *ctx, const char *certfile, const char *certdir, int d)
Definition
ssl_ca.c:3
certfile
const char * certfile
Definition
sslclient.c:106
ctx
SSL_CTX * ctx
Definition
sslclient.c:105
ucspissl.h
Header file to be used with sqmail; previously called ssl.h. (name clash)
Generated on
for ucspi-ssl by
1.14.0