Alexandre Julliard : crypt32: Don' t build password_to_ascii without GnuTLS.

Alexandre Julliard julliard at winehq.org
Mon Feb 11 16:12:12 CST 2019


Module: wine
Branch: master
Commit: 5cfeed53974ed8d670170131b61fe17403f17e4e
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=5cfeed53974ed8d670170131b61fe17403f17e4e

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Mon Feb 11 18:32:12 2019 +0100

crypt32: Don't build password_to_ascii without GnuTLS.

Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/crypt32/pfx.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/crypt32/pfx.c b/dlls/crypt32/pfx.c
index 46bf356..a515585 100644
--- a/dlls/crypt32/pfx.c
+++ b/dlls/crypt32/pfx.c
@@ -240,8 +240,6 @@ done:
     return prov;
 }
 
-#endif
-
 static char *password_to_ascii( const WCHAR *str )
 {
     char *ret;
@@ -257,6 +255,8 @@ static char *password_to_ascii( const WCHAR *str )
     return ret;
 }
 
+#endif
+
 HCERTSTORE WINAPI PFXImportCertStore( CRYPT_DATA_BLOB *pfx, const WCHAR *password, DWORD flags )
 {
 #ifdef SONAME_LIBGNUTLS




More information about the wine-cvs mailing list