Unbreak after recent LibreSSL changes. Please keep LibreSSL devs out!

(I hope beck@ have a good ophthalmologist, because medical maintenance
is required after looking in that code)

prodded by aja@
This commit is contained in:
zhuk 2017-01-26 06:19:58 +00:00
parent 3acc5f2a6a
commit 15b9240e7d
2 changed files with 24 additions and 3 deletions

View File

@ -1,6 +1,5 @@
# $OpenBSD: Makefile,v 1.150 2017/01/25 11:55:47 zhuk Exp $
# $OpenBSD: Makefile,v 1.151 2017/01/26 06:19:58 zhuk Exp $
BROKEN = fallout after changes in LibreSSL
BROKEN-alpha = .got subsegment exceeds 64K
BROKEN-mips64 = .got subsegment exceeds 64K
@ -13,7 +12,7 @@ PKGNAME-main = ${DISTNAME}
PKGSPEC-main = kdelibs->=3,<4
PKGNAME-langlist = kde3-langlist-${VERSION}
PKG_ARCH-langlist = *
REVISION-main = 40
REVISION-main = 41
REVISION-langlist = 1
MODKDE_VERSION = 3.5.8

View File

@ -0,0 +1,22 @@
$OpenBSD: patch-kio_kssl_kssl_cc,v 1.1 2017/01/26 06:19:58 zhuk Exp $
Unbreak after LibreSSL changes 25.01.2017.
--- kio/kssl/kssl.cc.orig Wed Jan 25 16:19:58 2017
+++ kio/kssl/kssl.cc Wed Jan 25 17:42:00 2017
@@ -284,7 +284,7 @@ int rc;
return -1;
if (d->session) {
- if (static_cast<SSL_SESSION*>(d->session->_session)->sess_cert == 0)
+ if (static_cast<SSL_SESSION*>(d->session->_session)->peer == 0)
{
kdDebug(7029) << "Can't reuse session, no certificate." << endl;
delete d->session;
@@ -375,7 +375,7 @@ int rc;
return -1;
if (d->session) {
- if (static_cast<SSL_SESSION*>(d->session->_session)->sess_cert == 0)
+ if (static_cast<SSL_SESSION*>(d->session->_session)->peer == 0)
{
kdDebug(7029) << "Can't reuse session, no certificate." << endl;
delete d->session;