pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/libfetch/files Deal with OpenSSL const changes as ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/40105498d0b4
branches:  trunk
changeset: 545140:40105498d0b4
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Sun Jul 27 13:51:27 2008 +0000

description:
Deal with OpenSSL const changes as suggested by wiz.

diffstat:

 net/libfetch/files/common.h |  8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diffs (22 lines):

diff -r a309eaa0c790 -r 40105498d0b4 net/libfetch/files/common.h
--- a/net/libfetch/files/common.h       Sun Jul 27 13:39:24 2008 +0000
+++ b/net/libfetch/files/common.h       Sun Jul 27 13:51:27 2008 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: common.h,v 1.7 2008/04/24 07:55:00 joerg Exp $ */
+/*     $NetBSD: common.h,v 1.8 2008/07/27 13:51:27 joerg Exp $ */
 /*-
  * Copyright (c) 1998-2004 Dag-Erling Coïdan Smørgrav
  * All rights reserved.
@@ -62,7 +62,11 @@
        SSL             *ssl;           /* SSL handle */
        SSL_CTX         *ssl_ctx;       /* SSL context */
        X509            *ssl_cert;      /* server certificate */
-       SSL_METHOD      *ssl_meth;      /* SSL method */
+#  if OPENSSL_VERSION_NUMBER < 0x00909000L
+       SSL_METHOD *ssl_meth;           /* SSL method */
+#  else
+       const SSL_METHOD *ssl_meth;     /* SSL method */
+#  endif
 #endif
        int              ref;           /* reference count */
 };



Home | Main Index | Thread Index | Old Index