emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master 01/01: gnutls.c windows compilation fix


From: Lars Ingebrigtsen
Subject: [Emacs-diffs] master 01/01: gnutls.c windows compilation fix
Date: Sun, 23 Nov 2014 22:06:22 +0000

branch: master
commit 1aafa6b682cf38a14bbb27ae860b83a32bd477c6
Author: Lars Magne Ingebrigtsen <address@hidden>
Date:   Sun Nov 23 23:06:08 2014 +0100

    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 10ef4fa..8cd0fd9 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,5 +1,8 @@
 2014-11-23  Lars Magne Ingebrigtsen  <address@hidden>
 
+       * 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 37d797a..e012a90 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,



reply via email to

[Prev in Thread] Current Thread [Next in Thread]