summaryrefslogtreecommitdiff
path: root/src/lib/libssl/ssl.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.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.h')
-rw-r--r--src/lib/libssl/ssl.h13
1 files changed, 12 insertions, 1 deletions
diff --git a/src/lib/libssl/ssl.h b/src/lib/libssl/ssl.h
index 28b7de6667..075c37e853 100644
--- a/src/lib/libssl/ssl.h
+++ b/src/lib/libssl/ssl.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: ssl.h,v 1.119 2017/01/23 14:35:42 jsing Exp $ */ 1/* $OpenBSD: ssl.h,v 1.120 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 *
@@ -680,6 +680,17 @@ struct ssl_ctx_st {
680 680
681 X509_VERIFY_PARAM *param; 681 X509_VERIFY_PARAM *param;
682 682
683 /*
684 * XXX
685 * default_passwd_cb used by python and openvpn, need to keep it until we
686 * add an accessor
687 */
688 /* Default password callback. */
689 pem_password_cb *default_passwd_callback;
690
691 /* Default password callback user data. */
692 void *default_passwd_callback_userdata;
693
683 struct ssl_ctx_internal_st *internal; 694 struct ssl_ctx_internal_st *internal;
684}; 695};
685 696