about summary refs log tree commit diff stats
path: root/WWW
diff options
context:
space:
mode:
authorThomas E. Dickey <dickey@invisible-island.net>2011-05-11 10:53:36 -0400
committerThomas E. Dickey <dickey@invisible-island.net>2011-05-11 10:53:36 -0400
commite89e3724b787d5f0db678c8dd725e3325477d37d (patch)
tree82e9d46c25b5e6e807fdeceaa98df444c9e6dda1 /WWW
parent4ecca6fc9fdd12de9e4b9bece4de2ada1f28a39d (diff)
downloadlynx-snapshots-e89e3724b787d5f0db678c8dd725e3325477d37d.tar.gz
snapshot of project "lynx", label v2-8-8dev_8b
Diffstat (limited to 'WWW')
-rw-r--r--WWW/Library/Implementation/HTUtils.h6
-rw-r--r--WWW/Library/Implementation/tidy_tls.h6
2 files changed, 8 insertions, 4 deletions
diff --git a/WWW/Library/Implementation/HTUtils.h b/WWW/Library/Implementation/HTUtils.h
index cdc0a09e..b037dbec 100644
--- a/WWW/Library/Implementation/HTUtils.h
+++ b/WWW/Library/Implementation/HTUtils.h
@@ -1,5 +1,5 @@
 /*
- * $LynxId: HTUtils.h,v 1.103 2010/10/27 00:08:52 tom Exp $
+ * $LynxId: HTUtils.h,v 1.104 2011/05/10 09:31:54 tom Exp $
  *
  * Utility macros for the W3 code library
  * MACROS FOR GENERAL USE
@@ -730,6 +730,10 @@ extern int WWW_TraceMask;
 #undef free_func
 #endif /* USE_SSL */
 
+#ifdef HAVE_BSD_RANDOM_H
+#include <bsd/random.h>		/* prototype for arc4random.h */
+#endif
+
 #ifdef HAVE_LIBDMALLOC
 #include <dmalloc.h>		/* Gray Watson's library */
 #define show_alloc() dmalloc_log_unfreed()
diff --git a/WWW/Library/Implementation/tidy_tls.h b/WWW/Library/Implementation/tidy_tls.h
index 771add4a..25564404 100644
--- a/WWW/Library/Implementation/tidy_tls.h
+++ b/WWW/Library/Implementation/tidy_tls.h
@@ -1,6 +1,6 @@
 /*
- * $LynxId: tidy_tls.h,v 1.2 2010/10/27 00:07:26 tom Exp $
- * Copyright 2008, Thomas E. Dickey
+ * $LynxId: tidy_tls.h,v 1.3 2011/05/11 10:53:36 tom Exp $
+ * Copyright 2008,2011 Thomas E. Dickey
  */
 #ifndef TIDY_TLS_H
 #define TIDY_TLS_H
@@ -108,7 +108,7 @@ extern SSL *SSL_new(SSL_CTX * ctx);
 extern SSL_CIPHER *SSL_get_current_cipher(SSL * ssl);
 extern SSL_CTX *SSL_CTX_new(SSL_METHOD * method);
 extern SSL_METHOD *SSLv23_client_method(void);
-extern X509 *SSL_get_peer_certificate(SSL * ssl);
+extern const X509 *SSL_get_peer_certificate(SSL * ssl);
 extern X509_NAME *X509_get_issuer_name(const X509 * cert);
 extern X509_NAME *X509_get_subject_name(const X509 * cert);
 extern char *X509_NAME_oneline(X509_NAME * name, char *buf, int len);