Your message dated Sun, 26 Dec 2021 02:25:58 +0000
with message-id <e1n1jeu-0008mr...@fasolo.debian.org>
and subject line Bug#1001350: fixed in sslsplit 0.5.5-2
has caused the Debian Bug report #1001350,
regarding sslsplit: FTBFS with openssl 3
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
1001350: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1001350
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: sslsplit
Version: 0.5.5-1
Severity: serious
Tags: patch experimental
Justification: ftbfs
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu jammy ubuntu-patch

Hi Hilko,

The sslsplit package was failing to build in Ubuntu against openssl3,
because it uses an ERR_GET_FUNC() macro that has been obsoleted in this
release.  I have uploaded the attached patch to Ubuntu to fix the build
failure; please consider including it in Debian as well.

OpenSSL 3 is currently in experimental, and expected to be the version
shipped in the next Debian release.

Thanks,
-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                   https://www.debian.org/
slanga...@ubuntu.com                                     vor...@debian.org
diff -Nru sslsplit-0.5.5/debian/patches/openssl3.patch 
sslsplit-0.5.5/debian/patches/openssl3.patch
--- sslsplit-0.5.5/debian/patches/openssl3.patch        1969-12-31 
16:00:00.000000000 -0800
+++ sslsplit-0.5.5/debian/patches/openssl3.patch        2021-12-08 
14:23:54.000000000 -0800
@@ -0,0 +1,66 @@
+Description: Compatibility with OpenSSL 3
+ ERR_GET_FUNC() no longer exists in OpenSSL 3, so drop references to it.
+Author: Steve Langasek <steve.langa...@ubuntu.com>
+Last-Update: 2021-12-08
+Forwarded: no
+
+Index: sslsplit-0.5.5/pxyconn.c
+===================================================================
+--- sslsplit-0.5.5.orig/pxyconn.c
++++ sslsplit-0.5.5/pxyconn.c
+@@ -2188,7 +2188,7 @@
+                       /* these can happen due to client cert auth,
+                        * only log error if debugging is activated */
+                       log_dbg_printf("Error from %s bufferevent: "
+-                                     "%i:%s %lu:%i:%s:%i:%s:%i:%s\n",
++                                     "%i:%s %lu:%i:%s:%i:%s:%s\n",
+                                      (bev == ctx->src.bev) ? "src" : "dst",
+                                      errno,
+                                      errno ? strerror(errno) : "-",
+@@ -2199,24 +2199,22 @@
+                                      ERR_GET_LIB(sslerr),
+                                      sslerr ?
+                                      ERR_lib_error_string(sslerr) : "-",
+-                                     ERR_GET_FUNC(sslerr),
+                                      sslerr ?
+                                      ERR_func_error_string(sslerr) : "-");
+                       while ((sslerr = bufferevent_get_openssl_error(bev))) {
+                               log_dbg_printf("Additional SSL error: "
+-                                             "%lu:%i:%s:%i:%s:%i:%s\n",
++                                             "%lu:%i:%s:%i:%s:%s\n",
+                                              sslerr,
+                                              ERR_GET_REASON(sslerr),
+                                              ERR_reason_error_string(sslerr),
+                                              ERR_GET_LIB(sslerr),
+                                              ERR_lib_error_string(sslerr),
+-                                             ERR_GET_FUNC(sslerr),
+                                              ERR_func_error_string(sslerr));
+                       }
+               } else {
+                       /* real errors */
+                       log_err_printf("Error from %s bufferevent: "
+-                                     "%i:%s %lu:%i:%s:%i:%s:%i:%s\n",
++                                     "%i:%s %lu:%i:%s:%i:%s:%s\n",
+                                      (bev == ctx->src.bev) ? "src" : "dst",
+                                      errno,
+                                      errno ? strerror(errno) : "-",
+@@ -2227,18 +2225,16 @@
+                                      ERR_GET_LIB(sslerr),
+                                      sslerr ?
+                                      ERR_lib_error_string(sslerr) : "-",
+-                                     ERR_GET_FUNC(sslerr),
+                                      sslerr ?
+                                      ERR_func_error_string(sslerr) : "-");
+                       while ((sslerr = bufferevent_get_openssl_error(bev))) {
+                               log_err_printf("Additional SSL error: "
+-                                             "%lu:%i:%s:%i:%s:%i:%s\n",
++                                             "%lu:%i:%s:%i:%s:%s\n",
+                                              sslerr,
+                                              ERR_GET_REASON(sslerr),
+                                              ERR_reason_error_string(sslerr),
+                                              ERR_GET_LIB(sslerr),
+                                              ERR_lib_error_string(sslerr),
+-                                             ERR_GET_FUNC(sslerr),
+                                              ERR_func_error_string(sslerr));
+                       }
+               }
diff -Nru sslsplit-0.5.5/debian/patches/series 
sslsplit-0.5.5/debian/patches/series
--- sslsplit-0.5.5/debian/patches/series        2019-08-31 03:41:21.000000000 
-0700
+++ sslsplit-0.5.5/debian/patches/series        2021-12-08 14:22:20.000000000 
-0800
@@ -1 +1,2 @@
 0001-Use-pkg-config-to-determine-linker-flags-for-test-pr.patch
+openssl3.patch

--- End Message ---
--- Begin Message ---
Source: sslsplit
Source-Version: 0.5.5-2
Done: Hilko Bengen <ben...@debian.org>

We believe that the bug you reported is fixed in the latest version of
sslsplit, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1001...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Hilko Bengen <ben...@debian.org> (supplier of updated sslsplit package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Sun, 26 Dec 2021 02:42:50 +0100
Source: sslsplit
Architecture: source
Version: 0.5.5-2
Distribution: unstable
Urgency: medium
Maintainer: Hilko Bengen <ben...@debian.org>
Changed-By: Hilko Bengen <ben...@debian.org>
Closes: 1001350
Changes:
 sslsplit (0.5.5-2) unstable; urgency=medium
 .
   * Add OpenSSL 3 compatibility patch provided by Steve Langasek
     (Closes: #1001350)
Checksums-Sha1:
 c45278494645833d17f61e01fcdf2ff86bba9fd5 1888 sslsplit_0.5.5-2.dsc
 9e64b1488de54110a8c12c277c5269e9ab2a42d3 4492 sslsplit_0.5.5-2.debian.tar.xz
 bbafe58a19608dd543b8ffd16604ee15834fc9c8 7217 sslsplit_0.5.5-2_source.buildinfo
Checksums-Sha256:
 c0d73f8cc8748acd18eae67ca1b8b6919ced580fb135685f8c881882a7c5e232 1888 
sslsplit_0.5.5-2.dsc
 2cbdd8dac74fd8c9a975e509e027ce8725fd6e4c6c9e4463a12a308d4389752c 4492 
sslsplit_0.5.5-2.debian.tar.xz
 72da558d1a07a4501ed58bec2421b7713026947782c212b262df7ea29d2ebae7 7217 
sslsplit_0.5.5-2_source.buildinfo
Files:
 eb059463d9fea797b04ce2c1434978f9 1888 net optional sslsplit_0.5.5-2.dsc
 d410555740d96f615be6917530729a90 4492 net optional 
sslsplit_0.5.5-2.debian.tar.xz
 ec1cbc19f9b589bce99dd2f095a1a3dc 7217 net optional 
sslsplit_0.5.5-2_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEErnMQVUQqHZbPTUx4dbcQY1whOn4FAmHHydcACgkQdbcQY1wh
On49+xAAonbejkK/jOZmhioxfo0wSofeFz/KtNsprkx9y45He3vOdIl58PznnqUT
g8E999p9va6SSSnwets9qTTuz0d2oU9o39oPsO6bFSPQWQdKwBB3Qf72DcEKbMyB
JR1qs+8RAHma8hFBMjPmbkUTjl9lAdGpDbZeF0f5S1WXoYfb/bcFVrmqcb/MziDs
f+/acGATP9VKw/Y5lq8HKIKjhLUZSpmqETngvkWp7/ctgLaQPV4IzTmyRInkCPQ8
TTklI8EhEPfu67ea4gbEZRZ360V+CLCk3frKDbZxqqYP9yS11OdMCg5E/PvrC2ZJ
g4zwX1RQVKXLaHLsbeb5hl1OXr2JSoTM7GzK7EoJ2CMlWXLcgn+FnAE1i/0k+nfD
lb1jwZYO1oK3g6+d/G3GVDRsEESrLiEEnQsZL8+nblQ83Q4fI4eVnuhfvHTSzyj1
dE5a8u/qWh+bC7vg8MYl+qIMWyHDdnmUPplyMRGvmuoS+ps7yyRepQhE+K1Oaga5
to0QI8ihymba7O8vEwl4qCin5U+eGmiOmQNtwUZUT7+a3PWhQYlNi+VD6PazcjwD
bzoDS+1hTBwgvAMwbW7RLIPIkBYkK/EL46YzvVQsOrDyiz4SNyMTp2/CgEHdiJcy
FZXzG+pkuTGv8IqBPD5R7ZD0HKE6+UXrt6tRCSznZoXLMFFu0YQ=
=dZvx
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to