diff options
author | Francesco Colista <fcolista@alpinelinux.org> | 2017-11-27 21:06:53 +0000 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2017-11-27 21:06:59 +0000 |
commit | 6afcf362335b17590f8bcf8f7462a7d2165a7eaf (patch) | |
tree | 2962f2af28be744dc9abf4e9762d1afc5536181f /testing/openconnect/openconnect-7.08-libressl251.patch | |
parent | bc1cb506a2a45ed5600e84258276bf38ce5f106f (diff) | |
download | aports-6afcf362335b17590f8bcf8f7462a7d2165a7eaf.tar.bz2 aports-6afcf362335b17590f8bcf8f7462a7d2165a7eaf.tar.xz |
testing/openconnect: moved from unmaintained, upgraded to 7.08
Diffstat (limited to 'testing/openconnect/openconnect-7.08-libressl251.patch')
-rw-r--r-- | testing/openconnect/openconnect-7.08-libressl251.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/testing/openconnect/openconnect-7.08-libressl251.patch b/testing/openconnect/openconnect-7.08-libressl251.patch new file mode 100644 index 0000000000..ba0b894092 --- /dev/null +++ b/testing/openconnect/openconnect-7.08-libressl251.patch @@ -0,0 +1,14 @@ +diff -Naur openconnect-7.08.orig/openssl-dtls.c openconnect-7.08/openssl-dtls.c +--- openconnect-7.08.orig/openssl-dtls.c 2016-12-06 05:03:51.000000000 -0800 ++++ openconnect-7.08/openssl-dtls.c 2017-02-01 13:35:52.315398332 -0800 +@@ -100,8 +100,8 @@ + } + #else + /* OpenSSL <= 1.0.2 only supports CBC ciphers with PSK */ +- ivlen = EVP_CIPHER_iv_length(EVP_CIPHER_CTX_cipher(vpninfo->dtls_ssl->enc_write_ctx)); +- maclen = EVP_MD_CTX_size(vpninfo->dtls_ssl->write_hash); ++ ivlen = EVP_CIPHER_iv_length(EVP_CIPHER_CTX_cipher(vpninfo->dtls_ssl->enc_read_ctx)); ++ maclen = EVP_MD_CTX_size(vpninfo->dtls_ssl->read_hash); + blocksize = ivlen; + pad = 1; + #endif |