From 1aafa6b682cf38a14bbb27ae860b83a32bd477c6 Mon Sep 17 00:00:00 2001 From: Lars Magne Ingebrigtsen Date: Sun, 23 Nov 2014 23:06:08 +0100 Subject: [PATCH] gnutls.c windows compilation fix * gnutls.c: Fixed Windows function definition of gnutls_x509_crt_get_fingerprint. --- src/ChangeLog | 3 +++ src/gnutls.c | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/ChangeLog b/src/ChangeLog index 10ef4fab1c0..8cd0fd9d594 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,5 +1,8 @@ 2014-11-23 Lars Magne Ingebrigtsen + * gnutls.c: Fixed Windows function definition of + gnutls_x509_crt_get_fingerprint. + * gnutls.c (Fgnutls_boot): Save certificate for later inspection. * process.h: Added more fields to Lisp_Process to track diff --git a/src/gnutls.c b/src/gnutls.c index 37d797a4b43..e012a904f85 100644 --- a/src/gnutls.c +++ b/src/gnutls.c @@ -153,8 +153,8 @@ DEF_GNUTLS_FN (int, gnutls_x509_crt_import, gnutls_x509_crt_fmt_t)); DEF_GNUTLS_FN (int, gnutls_x509_crt_init, (gnutls_x509_crt_t *)); DEF_GNUTLS_FN (int, gnutls_x509_crt_get_fingerprint, - (gnutls_digest_algorithm_t, - const gnutls_datum_t*, void *, size_t *)); + (gnutls_x509_crt_t, + gnutls_digest_algorithm_t, void *, size_t *_buf)); DEF_GNUTLS_FN (int, gnutls_x509_crt_get_version, (gnutls_x509_crt_t)); DEF_GNUTLS_FN (int, gnutls_x509_crt_get_serial, -- 2.11.4.GIT