ucspi-ssl 0.13.03
ucspi-ssl
Loading...
Searching...
No Matches
ssl_ca.c
Go to the documentation of this file.
1#include "ucspissl.h"
2
3int 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
int ssl_ca(SSL_CTX *ctx, const char *certfile, const char *certdir, int d)
Definition: ssl_ca.c:3
const char * certfile
Definition: sslclient.c:106
SSL_CTX * ctx
Definition: sslclient.c:105
Header file to be used with sqmail; previously called ssl.h. (name clash)