summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/ui/ui_util.c
diff options
context:
space:
mode:
authortb <>2024-08-08 09:56:51 +0000
committertb <>2024-08-08 09:56:51 +0000
commitea8c0a2b64019acbabd82c41ca18c8ae4066af57 (patch)
treeda19a86cc33df7c9b6746685867dcb55aea711ab /src/lib/libcrypto/ui/ui_util.c
parent9d335986042400f1b3b1458569ba52106358ab13 (diff)
downloadopenbsd-ea8c0a2b64019acbabd82c41ca18c8ae4066af57.tar.gz
openbsd-ea8c0a2b64019acbabd82c41ca18c8ae4066af57.tar.bz2
openbsd-ea8c0a2b64019acbabd82c41ca18c8ae4066af57.zip
ui_util.c needs stdio.h and ui.h, but not ui_compat.h and ui_local.h
Diffstat (limited to 'src/lib/libcrypto/ui/ui_util.c')
-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)