summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortb <>2024-08-08 09:56:51 +0000
committertb <>2024-08-08 09:56:51 +0000
commit14e4c389608a0ab6e2b97fd9a8e8b83ecef36704 (patch)
treeda19a86cc33df7c9b6746685867dcb55aea711ab
parente4193eff26a04437515cec2e16d32a75238a990e (diff)
downloadopenbsd-14e4c389608a0ab6e2b97fd9a8e8b83ecef36704.tar.gz
openbsd-14e4c389608a0ab6e2b97fd9a8e8b83ecef36704.tar.bz2
openbsd-14e4c389608a0ab6e2b97fd9a8e8b83ecef36704.zip
ui_util.c needs stdio.h and ui.h, but not ui_compat.h and ui_local.h
-rw-r--r--src/lib/libcrypto/ui/ui_util.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/lib/libcrypto/ui/ui_util.c b/src/lib/libcrypto/ui/ui_util.c
index 4fa4058cd4..e1dda00427 100644
--- a/src/lib/libcrypto/ui/ui_util.c
+++ b/src/lib/libcrypto/ui/ui_util.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: ui_util.c,v 1.14 2023/02/16 08:38:17 tb Exp $ */ 1/* $OpenBSD: ui_util.c,v 1.15 2024/08/08 09:56:51 tb Exp $ */
2/* ==================================================================== 2/* ====================================================================
3 * Copyright (c) 2001-2002 The OpenSSL Project. All rights reserved. 3 * Copyright (c) 2001-2002 The OpenSSL Project. All rights reserved.
4 * 4 *
@@ -53,11 +53,10 @@
53 * 53 *
54 */ 54 */
55 55
56#include <stdio.h>
56#include <string.h> 57#include <string.h>
57 58
58#include <openssl/ui_compat.h> 59#include <openssl/ui.h>
59
60#include "ui_local.h"
61 60
62int 61int
63UI_UTIL_read_pw_string(char *buf, int length, const char *prompt, int verify) 62UI_UTIL_read_pw_string(char *buf, int length, const char *prompt, int verify)