Removed unused fields of CT_POLICY_EVAL_CTX
[openssl.git] / crypto / evp / evp_key.c
index d2e6d8c669f2e6a844d37282bc1c980b55458b2f..995d35503ca0c86d5a005d75601587e3ed4ecf07 100644 (file)
@@ -1,4 +1,3 @@
-/* crypto/evp/evp_key.c */
 /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
  * All rights reserved.
  *
@@ -63,6 +62,7 @@
 #include <openssl/evp.h>
 #include <openssl/ui.h>
 
+#ifndef OPENSSL_NO_UI
 /* should be init to zeros. */
 static char prompt_string[80];
 
@@ -117,6 +117,7 @@ int EVP_read_pw_string_min(char *buf, int min, int len, const char *prompt,
     OPENSSL_cleanse(buff, BUFSIZ);
     return ret;
 }
+#endif /* OPENSSL_NO_UI */
 
 int EVP_BytesToKey(const EVP_CIPHER *type, const EVP_MD *md,
                    const unsigned char *salt, const unsigned char *data,