diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2008-06-03 11:26:27 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2008-06-03 11:26:27 +0000 |
commit | 59d2d48f6470b6ef5e8c385c34dea1f253bfed62 (patch) | |
tree | 4fd21cd45361a1adadf65c8913ffa8f56ef52054 /ssl | |
parent | b3c8dd4eabc92a5fc742b3b4e8af492f40098500 (diff) |
Add support for client cert engine setting in s_client app.
Add appropriate #ifdefs round client cert functions in headers.
Diffstat (limited to 'ssl')
-rw-r--r-- | ssl/ssl.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -895,7 +895,9 @@ void SSL_CTX_set_info_callback(SSL_CTX *ctx, void (*cb)(const SSL *ssl,int type, void (*SSL_CTX_get_info_callback(SSL_CTX *ctx))(const SSL *ssl,int type,int val); void SSL_CTX_set_client_cert_cb(SSL_CTX *ctx, int (*client_cert_cb)(SSL *ssl, X509 **x509, EVP_PKEY **pkey)); int (*SSL_CTX_get_client_cert_cb(SSL_CTX *ctx))(SSL *ssl, X509 **x509, EVP_PKEY **pkey); +#ifndef OPENSSL_NO_ENGINE int SSL_CTX_set_client_cert_engine(SSL_CTX *ctx, ENGINE *e); +#endif void SSL_CTX_set_cookie_generate_cb(SSL_CTX *ctx, int (*app_gen_cookie_cb)(SSL *ssl, unsigned char *cookie, unsigned int *cookie_len)); void SSL_CTX_set_cookie_verify_cb(SSL_CTX *ctx, int (*app_verify_cookie_cb)(SSL *ssl, unsigned char *cookie, unsigned int cookie_len)); |