summaryrefslogtreecommitdiff
path: root/textproc/htmldoc/files/patch-htmldoc__http-private.h
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/htmldoc/files/patch-htmldoc__http-private.h')
-rw-r--r--textproc/htmldoc/files/patch-htmldoc__http-private.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/textproc/htmldoc/files/patch-htmldoc__http-private.h b/textproc/htmldoc/files/patch-htmldoc__http-private.h
new file mode 100644
index 000000000000..56f45d65a166
--- /dev/null
+++ b/textproc/htmldoc/files/patch-htmldoc__http-private.h
@@ -0,0 +1,25 @@
+--- ./htmldoc/http-private.h.orig 2011-12-30 08:41:10.000000000 +0100
++++ ./htmldoc/http-private.h 2014-01-28 04:47:41.000000000 +0100
+@@ -83,12 +83,12 @@
+ # endif /* __sgi || (__APPLE__ && !_SOCKLEN_T) */
+
+ # include "http.h"
+-# include "md5-private.h"
+
+ # if defined HAVE_LIBSSL
+ # include <openssl/err.h>
+ # include <openssl/rand.h>
+ # include <openssl/ssl.h>
++# include <openssl/md5.h>
+ # elif defined HAVE_GNUTLS
+ # include <gnutls/gnutls.h>
+ # include <gnutls/x509.h>
+@@ -276,7 +276,7 @@
+ char buffer[HTTP_MAX_BUFFER];
+ /* Buffer for incoming data */
+ int auth_type; /* Authentication in use */
+- _cups_md5_state_t md5_state; /* MD5 state */
++ MD5_CTX md5_state; /* MD5 state */
+ char nonce[HTTP_MAX_VALUE];
+ /* Nonce value */
+ int nonce_count; /* Nonce count */