pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/pkgtools/pkg_install/files/lib X509_get_extended_key_u...
details: https://anonhg.NetBSD.org/pkgsrc/rev/65bdf47b4659
branches: trunk
changeset: 378346:65bdf47b4659
user: sevan <sevan%pkgsrc.org@localhost>
date: Thu Apr 05 21:19:32 2018 +0000
description:
X509_get_extended_key_usage and X509_get_extension_flags definitions are also
needed for LibreSSL.
Tested on OpenBSD/amd64 6.3
diffstat:
pkgtools/pkg_install/files/lib/pkcs7.c | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diffs (28 lines):
diff -r 5bd557e437d8 -r 65bdf47b4659 pkgtools/pkg_install/files/lib/pkcs7.c
--- a/pkgtools/pkg_install/files/lib/pkcs7.c Thu Apr 05 19:13:57 2018 +0000
+++ b/pkgtools/pkg_install/files/lib/pkcs7.c Thu Apr 05 21:19:32 2018 +0000
@@ -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 @@
#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