Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/ptpd/files/
Date: Fri, 30 Apr 2021 23:27:52
Message-Id: 1619825247.1609f7769eceac8ce4c5e03d957faaa6b6901ff9.sam@gentoo
1 commit: 1609f7769eceac8ce4c5e03d957faaa6b6901ff9
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Fri Apr 30 23:16:07 2021 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Fri Apr 30 23:27:27 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1609f776
7
8 net-misc/ptpd: drop obsolete LibreSSL patch
9
10 Signed-off-by: Sam James <sam <AT> gentoo.org>
11
12 .../ptpd-2.3.1-fix-libressl-compatibility.patch | 24 ----------------------
13 1 file changed, 24 deletions(-)
14
15 diff --git a/net-misc/ptpd/files/ptpd-2.3.1-fix-libressl-compatibility.patch b/net-misc/ptpd/files/ptpd-2.3.1-fix-libressl-compatibility.patch
16 deleted file mode 100644
17 index 4fa25797ff0..00000000000
18 --- a/net-misc/ptpd/files/ptpd-2.3.1-fix-libressl-compatibility.patch
19 +++ /dev/null
20 @@ -1,24 +0,0 @@
21 -diff -urN old/src/dep/ntpengine/ntp_isc_md5.c new/src/dep/ntpengine/ntp_isc_md5.c
22 ---- old/src/dep/ntpengine/ntp_isc_md5.c 2015-06-29 17:13:29.000000000 +0200
23 -+++ new/src/dep/ntpengine/ntp_isc_md5.c 2018-09-15 22:56:18.469044902 +0200
24 -@@ -262,7 +262,7 @@
25 - {
26 - u_char digest[64];
27 - u_int len;
28 -- EVP_MD_CTX ctx;
29 -+ PTPD_EVP_MD_CTX ctx;
30 - pkt[length / 4] = htonl(keyid);
31 - EVP_DigestInit(&ctx);
32 - EVP_DigestUpdate(&ctx, (u_char *)key, (u_int)strlen(key));
33 -diff -urN old/src/dep/ntpengine/ntp_isc_md5.h new/src/dep/ntpengine/ntp_isc_md5.h
34 ---- old/src/dep/ntpengine/ntp_isc_md5.h 2015-06-29 17:13:29.000000000 +0200
35 -+++ new/src/dep/ntpengine/ntp_isc_md5.h 2018-09-15 22:56:11.852020732 +0200
36 -@@ -80,7 +80,7 @@
37 - # define MD5Init(c) isc_md5_init(c)
38 - # define MD5Update(c, p, s) isc_md5_update(c, p, s)
39 - # define MD5Final(d, c) isc_md5_final((c), (d)) /* swapped */
40 -- typedef MD5_CTX EVP_MD_CTX;
41 -+ typedef MD5_CTX PTPD_EVP_MD_CTX;
42 - # define EVP_DigestInit(c) MD5Init(c)
43 - # define EVP_DigestUpdate(c, p, s) MD5Update(c, p, s)
44 - # define EVP_DigestFinal(c, d, pdl) \