SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
12
security/stunnel/patches/patch-src_options_c
Normal file
12
security/stunnel/patches/patch-src_options_c
Normal file
|
@ -0,0 +1,12 @@
|
|||
Index: src/options.c
|
||||
--- src/options.c.orig
|
||||
+++ src/options.c
|
||||
@@ -38,7 +38,7 @@
|
||||
#include "common.h"
|
||||
#include "prototypes.h"
|
||||
|
||||
-#if OPENSSL_VERSION_NUMBER >= 0x10101000L
|
||||
+#if OPENSSL_VERSION_NUMBER >= 0x10101000L && !defined(LIBRESSL_VERSION_NUMBER)
|
||||
#define DEFAULT_CURVES "X25519:P-256:X448:P-521:P-384"
|
||||
#else /* OpenSSL version < 1.1.1 */
|
||||
#define DEFAULT_CURVES "prime256v1"
|
Loading…
Add table
Add a link
Reference in a new issue