projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
69f5fe0
)
gtls: fix build failure by including nettle-specific headers
author
Daniel Stenberg
<daniel@haxx.se>
Mon, 6 Aug 2012 13:04:25 +0000
(15:04 +0200)
committer
Daniel Stenberg
<daniel@haxx.se>
Mon, 6 Aug 2012 13:04:25 +0000
(15:04 +0200)
Bug: http://curl.haxx.se/bug/view.cgi?id=3554668
Reported by: Anthony G. Basile
lib/gtls.c
patch
|
blob
|
history
diff --git
a/lib/gtls.c
b/lib/gtls.c
index
d981ef1
..
c750a6f
100644
(file)
--- a/
lib/gtls.c
+++ b/
lib/gtls.c
@@
-34,7
+34,10
@@
#include <gnutls/gnutls.h>
#include <gnutls/x509.h>
-#ifndef USE_GNUTLS_NETTLE
+#ifdef USE_GNUTLS_NETTLE
+#include <gnutls/crypto.h>
+#include <nettle/md5.h>
+#else
#include <gcrypt.h>
#endif