pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/pkgtools/pkg_install/files/lib
Module Name: pkgsrc
Committed By: sevan
Date: Thu Apr 5 21:19:32 UTC 2018
Modified Files:
pkgsrc/pkgtools/pkg_install/files/lib: pkcs7.c
Log Message:
X509_get_extended_key_usage and X509_get_extension_flags definitions are also
needed for LibreSSL.
Tested on OpenBSD/amd64 6.3
To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 pkgsrc/pkgtools/pkg_install/files/lib/pkcs7.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/pkgtools/pkg_install/files/lib/pkcs7.c
diff -u pkgsrc/pkgtools/pkg_install/files/lib/pkcs7.c:1.6 pkgsrc/pkgtools/pkg_install/files/lib/pkcs7.c:1.7
--- pkgsrc/pkgtools/pkg_install/files/lib/pkcs7.c:1.6 Tue Oct 24 15:54:31 2017
+++ pkgsrc/pkgtools/pkg_install/files/lib/pkcs7.c Thu Apr 5 21:19:32 2018
@@ -1,4 +1,4 @@
-/* $NetBSD: pkcs7.c,v 1.6 2017/10/24 15:54:31 maya Exp $ */
+/* $NetBSD: pkcs7.c,v 1.7 2018/04/05 21:19:32 sevan Exp $ */
#if HAVE_CONFIG_H
#include "config.h"
#endif
@@ -7,7 +7,7 @@
#include <sys/cdefs.h>
#endif
-__RCSID("$NetBSD: pkcs7.c,v 1.6 2017/10/24 15:54:31 maya Exp $");
+__RCSID("$NetBSD: pkcs7.c,v 1.7 2018/04/05 21:19:32 sevan Exp $");
/*-
* Copyright (c) 2004, 2008 The NetBSD Foundation, Inc.
@@ -55,7 +55,8 @@ __RCSID("$NetBSD: pkcs7.c,v 1.6 2017/10/
#define NS_ANY_CA (NS_SSL_CA|NS_SMIME_CA|NS_OBJSIGN_CA)
#endif
-#if !defined(OPENSSL_VERSION_NUMBER) || (OPENSSL_VERSION_NUMBER < 0x10100000L)
+#if !defined(OPENSSL_VERSION_NUMBER) || (OPENSSL_VERSION_NUMBER < 0x10100000L) || \
+ defined(LIBRESSL_VERSION_NUMBER)
#define X509_get_extended_key_usage(x) x->ex_xkusage
#define X509_get_extension_flags(x) x->ex_flags
#endif
Home |
Main Index |
Thread Index |
Old Index