From: Lars Magne Ingebrigtsen Date: Sun, 23 Nov 2014 22:06:08 +0000 (+0100) Subject: gnutls.c windows compilation fix X-Git-Tag: emacs-25.0.90~2635^2~356 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=1aafa6b682cf38a14bbb27ae860b83a32bd477c6;p=emacs.git gnutls.c windows compilation fix * gnutls.c: Fixed Windows function definition of gnutls_x509_crt_get_fingerprint. --- 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,