diff options
author | David Woodhouse <David.Woodhouse@intel.com> | 2016-02-21 11:36:52 +0000 |
---|---|---|
committer | Rich Salz <rsalz@openssl.org> | 2016-03-07 12:52:56 -0500 |
commit | db922318b3470db8629979f24d4f0f82e9561190 (patch) | |
tree | 1aa344725de5446ffccc90998c727d95c91a5a4d /include | |
parent | d3054fb663a6a3a4689e52c10bb3094c39a3bce8 (diff) |
Elide EVP_read_pw_string() and friends for no-ui
Signed-off-by: Rich Salz <rsalz@openssl.org>
Reviewed-by: Kurt Roeckx <kurt@openssl.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/openssl/evp.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/openssl/evp.h b/include/openssl/evp.h index aef43f411b..0b6b82a0f9 100644 --- a/include/openssl/evp.h +++ b/include/openssl/evp.h @@ -557,11 +557,13 @@ int EVP_MD_CTX_test_flags(const EVP_MD_CTX *ctx, int flags); __owur int EVP_DigestFinal(EVP_MD_CTX *ctx, unsigned char *md, unsigned int *s); +#ifndef OPENSSL_NO_UI int EVP_read_pw_string(char *buf, int length, const char *prompt, int verify); int EVP_read_pw_string_min(char *buf, int minlen, int maxlen, const char *prompt, int verify); void EVP_set_pw_prompt(const char *prompt); char *EVP_get_pw_prompt(void); +#endif __owur int EVP_BytesToKey(const EVP_CIPHER *type, const EVP_MD *md, const unsigned char *salt, |