gnutls-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] add missing include wincrypt.h


From: Nikos Mavrogiannopoulos
Subject: Re: [PATCH] add missing include wincrypt.h
Date: Wed, 6 Jun 2012 10:42:01 +0200

Thanks. Btw why do you check for _WIN32 or __WIN32__? Are there cases
where one may exist and the other not?

regards,
Nikos

On Wed, Jun 6, 2012 at 10:16 AM, Mark Brand <address@hidden> wrote:
> 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
>
> _______________________________________________
> Gnutls-devel mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/gnutls-devel
>



reply via email to

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