ssl.h
author Sunil Nimmagadda <sunil@esdenera.com>
Mon, 09 Jan 2017 15:31:05 +0500
changeset 43 6903f7870c4c
parent 0 9e2cb1ed20b1
permissions -rw-r--r--
Provide an option to specify cert/key on commandline. While here, document new options and fix mandoc lint warnings.

#include <openssl/ssl.h>

/* ssl.c */
void ssl_init(void);
void *ssl_setup(const char *, const char *);
void *pop3s_init(SSL_CTX *, int);
void ssl_error(const char *);

/* ssl_privsep.c */
int ssl_ctx_use_private_key(SSL_CTX *, char *, off_t);
int ssl_ctx_use_certificate_chain(SSL_CTX *, char *, off_t);