FreeBSD Bugzilla – Attachment 179900 Details for
Bug 217029
security/hitch: Fix build with LibreSSL
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
svn diff for security/hitch
patch-security_hitch-LibreSSL (text/plain), 1.37 KB, created by
Bernard Spil
on 2017-02-12 13:48:37 UTC
(
hide
)
Description:
svn diff for security/hitch
Filename:
MIME Type:
Creator:
Bernard Spil
Created:
2017-02-12 13:48:37 UTC
Size:
1.37 KB
patch
obsolete
>Index: security/hitch/files/patch-src_hitch.c >=================================================================== >--- security/hitch/files/patch-src_hitch.c (nonexistent) >+++ security/hitch/files/patch-src_hitch.c (working copy) >@@ -0,0 +1,22 @@ >+From cc92c25a5fcbc1d3e4ebb8771fe87d961f2079bf Mon Sep 17 00:00:00 2001 >+From: Vanilla Hsu <vanilla@fatpipi.com> >+Date: Sat, 14 Jan 2017 09:36:57 +0800 >+Subject: [PATCH] Fix building with libressl. >+ >+--- >+ src/hitch.c | 2 +- >+ 1 file changed, 1 insertion(+), 1 deletion(-) >+ >+diff --git a/src/hitch.c b/src/hitch.c >+index 5b48680..03b4580 100644 >+--- src/hitch.c.orig 2016-12-22 13:48:49 UTC >++++ src/hitch.c >+@@ -683,7 +683,7 @@ load_privatekey(SSL_CTX *ctx, const char >+ return NULL; >+ } >+ >+-#if OPENSSL_VERSION_NUMBER < 0x10100000L >++#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER) >+ #define SSL_CTX_get_default_passwd_cb(ctx) (ctx->default_passwd_callback) >+ #define SSL_CTX_get_default_passwd_cb_userdata(ctx) (ctx->default_passwd_callback_userdata) >+ #endif > >Property changes on: security/hitch/files/patch-src_hitch.c >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 217029
: 179900