From 15fdb2a1a59a78bcb0aa5c388deb51aab72a3034 Mon Sep 17 00:00:00 2001 From: Un1q32 Date: Thu, 17 Oct 2024 12:17:50 -0400 Subject: [PATCH] replace UI_UTIL_read_pw_string with EVP_read_pw_string This fixes building with LibreSSL 4.0.0, which removed the UI_UTIL API --- ldid.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ldid.cpp b/ldid.cpp index 72d19cd..e390b0c 100644 --- a/ldid.cpp +++ b/ldid.cpp @@ -1885,7 +1885,7 @@ class P12Signer : public ldid::Signer { if (PKCS12_verify_mac(value_, "", 0) == 0 && !flag_U) { char passbuf[2048]; - UI_UTIL_read_pw_string(passbuf, 2048, "Enter password: ", 0); + EVP_read_pw_string(passbuf, 2048, "Enter password: ", 0); password = passbuf; }