From b9bd7b06cc409e96ceb7606a79a7f5900aa696fe Mon Sep 17 00:00:00 2001 From: David Woodhouse Date: Sun, 21 Feb 2016 16:19:44 +0000 Subject: Elide DES_read_password() for no-ui build Reviewed-by: Tim Hudson Reviewed-by: Rich Salz --- crypto/des/read2pwd.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'crypto/des') 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 #include +#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 -- cgit v1.2.3