diff options
author | David Woodhouse <David.Woodhouse@intel.com> | 2016-02-21 16:19:44 +0000 |
---|---|---|
committer | Rich Salz <rsalz@openssl.org> | 2016-03-07 14:51:08 -0500 |
commit | b9bd7b06cc409e96ceb7606a79a7f5900aa696fe (patch) | |
tree | 0c445d503afdce7db35bc4937d058e4d031afdc2 /crypto | |
parent | 92d23b339c631bca2cf12a47e05f13772f9868a0 (diff) |
Elide DES_read_password() for no-ui build
Reviewed-by: Tim Hudson <tjh@openssl.org>
Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'crypto')
-rw-r--r-- | crypto/des/read2pwd.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/crypto/des/read2pwd.c b/crypto/des/read2pwd.c index db31adb526..748d0e621b 100644 --- a/crypto/des/read2pwd.c +++ b/crypto/des/read2pwd.c @@ -113,6 +113,8 @@ #include <openssl/ui.h> #include <openssl/crypto.h> +#ifndef OPENSSL_NO_UI + #ifndef BUFSIZ #define BUFSIZ 256 #endif @@ -141,3 +143,4 @@ int DES_read_2passwords(DES_cblock *key1, DES_cblock *key2, OPENSSL_cleanse(buff, BUFSIZ); return (ok); } +#endif |