Table of Contents

NAME

ssl - routines useful for SSL servers and clients

SYNOPSIS

SSL_CTX *sslfd_ctx(void)
int ssl_setcon(int fd, SSL *con)
SSL *ssl_getcon(int fd)
int set_sslcon(int fd, SSL *con)
SSL *get_sslcon(int fd)
int ssl_pending(int fd)
int ssl_close(int fd)
void ssl_err(int log_lev, char *fmt)
int ssl_get_pw(const char *key_file, int log_lev)
int ssl_init(const char *cert_file,
   const char *key_file, const char *cipher_list,
   int verify_flag, int (*verify_cb)(),
   int log_lev, int flags)
int ssl_start1(int s, int log_lev, int active,
   SSL *con, int (*cb)(), int vf)
int ssl_start_cb(int s, int log_lev, int active,
   int (*cb)(), int vf)
int ssl_start(int s, int log_lev, int active)
int ssl_clone_cb(int s, int old, int log_lev,
   int active, int (*cb)(), int vf)
int ssl_clone(int s, int old, int log_lev, int active)
int ssl_start2_cb(int s, int old, int log_lev,
   int active, int (*cb)(), int vf)
int ssl_start2(int s, int log_lev, int active)
char *get_x509_name(char *buf, int bufsz)
int ssl_setopt(const char *optarg)

DESCRIPTION

These routines provide for client authentication using Eric Young's SSLeay library.

If no other definition of a certificate to use can be found, we will attempt to use _PATH_SSL_CERT (/etc/host.cert).

ssl_* vars set via ssl_setopt() now override the args to ssl_init() so they can be an applications defaults.

SEE ALSO

sslfd(3), ssld(3), sslc(3), ssl_rcmd(3), netio(3).

NOTES

The current version of SSLeay can be obtained from: ftp://ftp.psy.uq.oz.au/pub/Crypto/SSL/SSLeay-x.xx.tar.gz

The SSLeay FAQ by Tim Hudson <tjh@mincom.oz.au> can be found at http://www.psy.uq.oz.au/~ftp/Crypto

AUTHOR

Simon J. Gerraty <sjg@crufty.net>


Table of Contents