Alexandre Julliard : crypt32: Move GnuTLS-specific helpers into the #ifdef.

Alexandre Julliard julliard at winehq.org
Mon Sep 21 15:12:15 CDT 2020


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

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Mon Sep 21 13:21:07 2020 +0200

crypt32: Move GnuTLS-specific helpers into the #ifdef.

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 475ec0369e..3f38ae5056 100644
--- a/dlls/crypt32/pfx.c
+++ b/dlls/crypt32/pfx.c
@@ -254,8 +254,6 @@ static char *password_to_ascii( const WCHAR *str )
     return ret;
 }
 
-#endif
-
 static BOOL set_key_context( const void *ctx, HCRYPTPROV prov )
 {
     CERT_KEY_CONTEXT key_ctx;
@@ -327,6 +325,8 @@ static BOOL set_key_prov_info( const void *ctx, HCRYPTPROV prov )
     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