aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/tlsdate/libressl-sslstate.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2019-05-03 11:30:40 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2019-05-03 12:54:53 +0000
commitf7c341d2053e1464d878b5eea665685ba7b2e9af (patch)
treee58076987ec5157a5b3c9b516da431bd0103834f /unmaintained/tlsdate/libressl-sslstate.patch
parentf9c714f96e25f8440023fbbbff0ef6c5103bb9af (diff)
downloadaports-f7c341d2053e1464d878b5eea665685ba7b2e9af.tar.bz2
aports-f7c341d2053e1464d878b5eea665685ba7b2e9af.tar.xz
main/tlsdate: move to unmaintained
seems like its dead upstream
Diffstat (limited to 'unmaintained/tlsdate/libressl-sslstate.patch')
-rw-r--r--unmaintained/tlsdate/libressl-sslstate.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/unmaintained/tlsdate/libressl-sslstate.patch b/unmaintained/tlsdate/libressl-sslstate.patch
new file mode 100644
index 0000000000..de8ac98154
--- /dev/null
+++ b/unmaintained/tlsdate/libressl-sslstate.patch
@@ -0,0 +1,11 @@
+--- a/src/tlsdate-helper.c.orig
++++ b/src/tlsdate-helper.c
+@@ -374,7 +374,7 @@
+ openssl_time_callback (const SSL* ssl, int where, int ret)
+ {
+ if (where == SSL_CB_CONNECT_LOOP &&
+- (ssl->state == SSL3_ST_CR_SRVR_HELLO_A || ssl->state == SSL3_ST_CR_SRVR_HELLO_B))
++ (SSL_state(ssl) == SSL3_ST_CR_SRVR_HELLO_A || SSL_state(ssl) == SSL3_ST_CR_SRVR_HELLO_B))
+ {
+ // XXX TODO: If we want to trust the remote system for time,
+ // can we just read that time out of the remote system and if the