]> git.eshelyaron.com Git - emacs.git/commitdiff
gnutls.c windows compilation fix
authorLars Magne Ingebrigtsen <larsi@gnus.org>
Sun, 23 Nov 2014 22:06:08 +0000 (23:06 +0100)
committerLars Magne Ingebrigtsen <larsi@gnus.org>
Sun, 23 Nov 2014 22:06:17 +0000 (23:06 +0100)
* gnutls.c: Fixed Windows function definition of
gnutls_x509_crt_get_fingerprint.

src/ChangeLog
src/gnutls.c

index 10ef4fab1c00e5764b27fd67f93fa38967914b3e..8cd0fd9d594caf1ace92f34cfbbff88158aec51a 100644 (file)
@@ -1,5 +1,8 @@
 2014-11-23  Lars Magne Ingebrigtsen  <larsi@gnus.org>
 
+       * 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
index 37d797a4b43afaa08114ac7d7112b17c8a25c243..e012a904f85735f84339ba34a7c9131d530bb0c7 100644 (file)
@@ -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,