]> www.infradead.org Git - users/dwmw2/openconnect.git/commit
Fix build with LibreSSL 2.5.1 and higher.
authorPiotr Kubaj <pkubaj@anongoth.pl>
Fri, 12 May 2017 13:24:37 +0000 (14:24 +0100)
committerDavid Woodhouse <dwmw2@infradead.org>
Fri, 12 May 2017 15:14:46 +0000 (16:14 +0100)
commit69793ae0c1b3b6cb2e4baecc224ea714707ac329
treec24709acd83fbb55292c2691f89e002bd685d69b
parent539e3ee70a520b879226a80c60ad9b1b9f344bf2
Fix build with LibreSSL 2.5.1 and higher.

We don't actually care if we use the read or write state; we're only
calculating the cipher/protocol overheads which are the same in both
directions.

In LibreSSL they were all removed in
https://github.com/libressl-portable/openbsd/commit/122ecd906da7
and the read side was restored in
https://github.com/libressl-portable/openbsd/commit/0d7a7d5f5a44
so just use that.

Signed-off-by: Piotr Kubaj <pkubaj@anongoth.pl>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
openssl-dtls.c