diff options
| author | beck <> | 2017-01-23 22:34:38 +0000 |
|---|---|---|
| committer | beck <> | 2017-01-23 22:34:38 +0000 |
| commit | 55d9c35ce5b03ba866ed2d1ee18cc453731cf722 (patch) | |
| tree | cfbe5f284335f8bbcacf78c3fc12dfb19f453f3f /src/lib/libssl/ssl_locl.h | |
| parent | fa9356a54359643aa5b7a6217b6f158080b19d7d (diff) | |
| download | openbsd-55d9c35ce5b03ba866ed2d1ee18cc453731cf722.tar.gz openbsd-55d9c35ce5b03ba866ed2d1ee18cc453731cf722.tar.bz2 openbsd-55d9c35ce5b03ba866ed2d1ee18cc453731cf722.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 '')
| -rw-r--r-- | src/lib/libssl/ssl_locl.h | 8 |
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 | ||
