summaryrefslogtreecommitdiff
path: root/src/lib/libssl/ssl_locl.h
diff options
context:
space:
mode:
authorbeck <>2017-01-23 22:34:38 +0000
committerbeck <>2017-01-23 22:34:38 +0000
commitf05c52aa76a00f8868af9655f7175b76580f1fc3 (patch)
treecfbe5f284335f8bbcacf78c3fc12dfb19f453f3f /src/lib/libssl/ssl_locl.h
parentd43892e9652017c33ea2cf69639dc9a01090be5f (diff)
downloadopenbsd-f05c52aa76a00f8868af9655f7175b76580f1fc3.tar.gz
openbsd-f05c52aa76a00f8868af9655f7175b76580f1fc3.tar.bz2
openbsd-f05c52aa76a00f8868af9655f7175b76580f1fc3.zip
move default_passwd_cb and default_passwd_cb_userdata back into
the ssl_ctx from internal - these are used directly by python and openvpn and a few other things - we have the set accessors but the get accessors were added in 1.1 and these roll their own caveat OPENSSL_VERSION chickenpluckery
Diffstat (limited to 'src/lib/libssl/ssl_locl.h')
-rw-r--r--src/lib/libssl/ssl_locl.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/lib/libssl/ssl_locl.h b/src/lib/libssl/ssl_locl.h
index d0d72cbfdf..231e0ba333 100644
--- a/src/lib/libssl/ssl_locl.h
+++ b/src/lib/libssl/ssl_locl.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: ssl_locl.h,v 1.162 2017/01/23 14:35:42 jsing Exp $ */ 1/* $OpenBSD: ssl_locl.h,v 1.163 2017/01/23 22:34:38 beck Exp $ */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
@@ -454,12 +454,6 @@ typedef struct ssl_ctx_internal_st {
454 int (*app_verify_callback)(X509_STORE_CTX *, void *); 454 int (*app_verify_callback)(X509_STORE_CTX *, void *);
455 void *app_verify_arg; 455 void *app_verify_arg;
456 456
457 /* Default password callback. */
458 pem_password_cb *default_passwd_callback;
459
460 /* Default password callback user data. */
461 void *default_passwd_callback_userdata;
462
463 /* get client cert callback */ 457 /* get client cert callback */
464 int (*client_cert_cb)(SSL *ssl, X509 **x509, EVP_PKEY **pkey); 458 int (*client_cert_cb)(SSL *ssl, X509 **x509, EVP_PKEY **pkey);
465 459