[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [Libevent-users] Issues compiling libevent 2.0.22-stable on OS X 10.11.6 (15G31) and OpenSSL 1.1.0c 10 Nov 2016



Hi Azat,

The patch failed.

~/libevent-release-2.1.7-rc $  patch < libevent-release-2.1.7-rc.openssl.patch
can't find file to patch at input line 16
Perhaps you should have used the -p or --strip option?
The text leading up to this was:
--------------------------
|From d26fd0a446d9223e35403b31f735ed8fea20c304 Mon Sep 17 00:00:00 2001
|From: Azat Khuzhin <a3at.mail@xxxxxxxxx>
|Date: Mon, 14 Nov 2016 02:17:38 +0300
|Subject: [PATCH 1/2] le-proxy: fix building under openssl 1.1 (init functions
| has been deprecated)
|
|Refs: #397
|---
| sample/le-proxy.c | 2 ++
| 1 file changed, 2 insertions(+)
|
|diff --git a/sample/le-proxy.c b/sample/le-proxy.c
|index 30e0a5f..4a5177f 100644
|--- a/sample/le-proxy.c
|+++ b/sample/le-proxy.c
--------------------------
File to patch: sample/le-proxy.c
patching file sample/le-proxy.c
Hunk #1 FAILED at 258.
1 out of 1 hunk FAILED -- saving rejects to file sample/le-proxy.c.rej
can't find file to patch at input line 45
Perhaps you should have used the -p or --strip option?
The text leading up to this was:
--------------------------
|
|From 797c266db9b7b46dc538c5cbfd1af9f75a398940 Mon Sep 17 00:00:00 2001
|From: Azat Khuzhin <a3at.mail@xxxxxxxxx>
|Date: Mon, 14 Nov 2016 02:17:51 +0300
|Subject: [PATCH 2/2] test: fix building under openssl 1.1 (init functions has
| been deprecated)
|
|Refs: #397
|---
| test/regress_ssl.c | 2 ++
| 1 file changed, 2 insertions(+)
|
|diff --git a/test/regress_ssl.c b/test/regress_ssl.c
|index 6452d27..ba60128 100644
|--- a/test/regress_ssl.c
|+++ b/test/regress_ssl.c
--------------------------
File to patch: test/regress_ssl.c
patching file test/regress_ssl.c
Hunk #1 FAILED at 185.
Hunk #2 FAILED at 193.
2 out of 2 hunks FAILED -- saving rejects to file test/regress_ssl.c.rej


Thanks


On Sun, Nov 13, 2016 at 6:27 PM, Reindl Harald <h.reindl@xxxxxxxxxxxxx> wrote:


Am 14.11.2016 um 00:21 schrieb Azat Khuzhin:
So in openssl 1.1 thouse functions was deprecated [1], and in [2]
le-proxy.c wasn't fixed.
But what bothers me is that those functions *should exist*, but seems
that OPENSSL_NO_DEPRECATED do this

openssl 1.1 is *not* backwards compatible *even if* code compiles

***********************************************************************
To unsubscribe, send an e-mail to majordomo@xxxxxxxxxxxxx with
unsubscribe libevent-users    in the body.