summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2016-12-06 14:36:43 +0100
committerRichard Levitte <levitte@openssl.org>2017-01-11 18:27:27 +0100
commit0fe1fc858a0519c3866c0d2e88513e677b674926 (patch)
tree17c76a74c6310fd893e54f075c38d02670b53116 /include
parent18cfc668eae2c296e9bc90ffc989d9bbe61cc82f (diff)
Add a UI utility function with which to wrap pem_callback_cb in a UI_METHOD
Reviewed-by: Rich Salz <rsalz@openssl.org> (Merged from https://github.com/openssl/openssl/pull/2204)
Diffstat (limited to 'include')
-rw-r--r--include/openssl/ui.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/openssl/ui.h b/include/openssl/ui.h
index ff25205505..c5718d23e2 100644
--- a/include/openssl/ui.h
+++ b/include/openssl/ui.h
@@ -18,6 +18,7 @@
# include <openssl/crypto.h>
# endif
# include <openssl/safestack.h>
+# include <openssl/pem.h>
# include <openssl/ossl_typ.h>
#ifdef __cplusplus
@@ -328,6 +329,7 @@ int UI_UTIL_read_pw_string(char *buf, int length, const char *prompt,
int verify);
int UI_UTIL_read_pw(char *buf, char *buff, int size, const char *prompt,
int verify);
+ UI_METHOD *UI_UTIL_wrap_read_pem_callback(pem_password_cb *cb, int rwflag);
/* BEGIN ERROR CODES */
/*