gnutls-devel
[Top][All Lists]
Advanced

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

[PATCH] add missing include wincrypt.h


From: Mark Brand
Subject: [PATCH] add missing include wincrypt.h
Date: Wed, 06 Jun 2012 10:16:17 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:12.0) Gecko/20120428 Firefox/12.0 SeaMonkey/2.9.1

From ca841dcb3e6144b31de5e7515e48351ebd154a0a Mon Sep 17 00:00:00 2001
From: Mark Brand <address@hidden>
Date: Wed, 6 Jun 2012 10:09:48 +0200
Subject: [PATCH] add missing include wincrypt.h

---
 lib/gnutls_x509.c |    3 +++
 1 file changed, 3 insertions(+)

diff --git a/lib/gnutls_x509.c b/lib/gnutls_x509.c
index 71e0d69..130d75c 100644
--- a/lib/gnutls_x509.c
+++ b/lib/gnutls_x509.c
@@ -42,6 +42,9 @@
 #include "x509/x509_int.h"
 #include <gnutls_str_array.h>
 #include "read-file.h"
+#if defined _WIN32 || defined __WIN32__
+#include <wincrypt.h>
+#endif

 /*
  * some x509 certificate parsing functions.
--
1.7.9.2

Attachment: 0001-add-missing-include-wincrypt.h.patch
Description: Text Data


reply via email to

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