mirror of
https://git.freebsd.org/ports.git
synced 2025-06-08 06:10:30 -04:00
Support staging, and modernize LIB_DEPENDS. Tweak build environment to get proper detection of png/jpeg libs. Switch to using BZIP2 tarballs. PR: ports/186024 Approved by: jose@diasfernandes.pt (maintainer) Security: 6d08fa63-83bf-11e3-bdba-080027ef73ec
25 lines
823 B
C
25 lines
823 B
C
--- ./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 */
|