mirror of
https://git.freebsd.org/ports.git
synced 2025-06-10 23:30:29 -04:00
- Remove IGNORE for LibreSSL - Add patches for OPENSSL_VERSION_NUMBER checks - Disable engine support for LibreSSL - Add compat macro and function PR: 215196
16 lines
384 B
C
16 lines
384 B
C
--- src/sslinfo.c.orig 2016-03-23 18:06:39 UTC
|
|
+++ src/sslinfo.c
|
|
@@ -25,6 +25,13 @@
|
|
#ifdef HAVE_OPENSSL
|
|
#include "ssl_private.h"
|
|
|
|
+#ifdef LIBRESSL_VERSION_NUMBER
|
|
+int X509_get_signature_nid(const X509 *x)
|
|
+{
|
|
+ return OBJ_obj2nid(x->sig_alg->algorithm);
|
|
+}
|
|
+#endif
|
|
+
|
|
static const char *hex_basis = "0123456789ABCDEF";
|
|
|
|
static char *convert_to_hex(const void *buf, size_t len)
|