Alistair Leslie-Hughes : crypt32: Fix compile error on older gnutls.

Alexandre Julliard julliard at winehq.org
Thu Jan 31 14:50:12 CST 2019


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

Author: Alistair Leslie-Hughes <leslie_alistair at hotmail.com>
Date:   Thu Jan 31 00:40:05 2019 +0000

crypt32: Fix compile error on older gnutls.

Signed-off-by: Alistair Leslie-Hughes <leslie_alistair at hotmail.com>
Signed-off-by: Hans Leidekker <hans at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

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

diff --git a/dlls/crypt32/pfx.c b/dlls/crypt32/pfx.c
index cde2f19..46bf356 100644
--- a/dlls/crypt32/pfx.c
+++ b/dlls/crypt32/pfx.c
@@ -45,6 +45,8 @@ int gnutls_pkcs12_simple_parse(gnutls_pkcs12_t p12, const char *password,
     gnutls_x509_crt_t **extra_certs, unsigned int *extra_certs_len,
     gnutls_x509_crl_t * crl, unsigned int flags);
 
+int gnutls_x509_privkey_get_pk_algorithm2(gnutls_x509_privkey_t, unsigned int*);
+
 static void *libgnutls_handle;
 #define MAKE_FUNCPTR(f) static typeof(f) * p##f
 MAKE_FUNCPTR(gnutls_global_deinit);




More information about the wine-cvs mailing list