FreeBSD Bugzilla – Attachment 216339 Details for
Bug 247871
net-im/libmesode: Enable using CAfile as trust store
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Fix
libmesode.diff (text/plain), 1.25 KB, created by
Ashish SHUKLA
on 2020-07-09 12:30:21 UTC
(
hide
)
Description:
Fix
Filename:
MIME Type:
Creator:
Ashish SHUKLA
Created:
2020-07-09 12:30:21 UTC
Size:
1.25 KB
patch
obsolete
>diff -urN /usr/ports/net-im/libmesode/Makefile libmesode/Makefile >--- /usr/ports/net-im/libmesode/Makefile 2020-02-11 13:54:45.000000000 +0530 >+++ libmesode/Makefile 2020-07-09 17:52:54.411488000 +0530 >@@ -2,6 +2,7 @@ > > PORTNAME= libmesode > PORTVERSION= 0.9.3 >+PORTREVISION= 1 > CATEGORIES= net-im > > MAINTAINER= arved@FreeBSD.org >diff -urN /usr/ports/net-im/libmesode/files/patch-src_tls__openssl.c libmesode/files/patch-src_tls__openssl.c >--- /usr/ports/net-im/libmesode/files/patch-src_tls__openssl.c 1970-01-01 05:30:00.000000000 +0530 >+++ libmesode/files/patch-src_tls__openssl.c 2020-07-09 17:55:17.283165000 +0530 >@@ -0,0 +1,14 @@ >+Patch from: >+ >+ https://github.com/profanity-im/libmesode/commit/532ed1e9d3e71e5bea0752e03dbacd4139d750d1 >+ >+--- src/tls_openssl.c.orig 2019-10-11 19:08:58 UTC >++++ src/tls_openssl.c >+@@ -320,6 +320,7 @@ tls_t *tls_new(xmpp_conn_t *conn) >+ SSL_CTX_set_client_cert_cb(tls->ssl_ctx, NULL); >+ SSL_CTX_set_mode(tls->ssl_ctx, SSL_MODE_ENABLE_PARTIAL_WRITE); >+ SSL_CTX_set_verify(tls->ssl_ctx, SSL_VERIFY_PEER, verify_callback); >++ SSL_CTX_set_default_verify_paths(tls->ssl_ctx); >+ if (conn->tls_cert_path) { >+ SSL_CTX_load_verify_locations(tls->ssl_ctx, NULL, conn->tls_cert_path); >+ }
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 247871
: 216339