crypt32: Don't build password_to_ascii without GnuTLS.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
stable
Alexandre Julliard 2019-02-11 18:32:12 +01:00
parent 15b7112d07
commit 5cfeed5397
1 changed files with 2 additions and 2 deletions

View File

@ -240,8 +240,6 @@ done:
return prov; return prov;
} }
#endif
static char *password_to_ascii( const WCHAR *str ) static char *password_to_ascii( const WCHAR *str )
{ {
char *ret; char *ret;
@ -257,6 +255,8 @@ static char *password_to_ascii( const WCHAR *str )
return ret; return ret;
} }
#endif
HCERTSTORE WINAPI PFXImportCertStore( CRYPT_DATA_BLOB *pfx, const WCHAR *password, DWORD flags ) HCERTSTORE WINAPI PFXImportCertStore( CRYPT_DATA_BLOB *pfx, const WCHAR *password, DWORD flags )
{ {
#ifdef SONAME_LIBGNUTLS #ifdef SONAME_LIBGNUTLS