diff options
Diffstat (limited to 'package/network/services/openvpn/patches/300-mbedtls_dont_use_deprecated_sha256_function.patch')
-rw-r--r-- | package/network/services/openvpn/patches/300-mbedtls_dont_use_deprecated_sha256_function.patch | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/package/network/services/openvpn/patches/300-mbedtls_dont_use_deprecated_sha256_function.patch b/package/network/services/openvpn/patches/300-mbedtls_dont_use_deprecated_sha256_function.patch deleted file mode 100644 index b9201a599a..0000000000 --- a/package/network/services/openvpn/patches/300-mbedtls_dont_use_deprecated_sha256_function.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/src/openvpn/ssl_mbedtls.c -+++ b/src/openvpn/ssl_mbedtls.c -@@ -803,7 +803,7 @@ tls_ctx_personalise_random(struct tls_ro - { - mbedtls_x509_crt *cert = ctx->crt_chain; - -- mbedtls_sha256(cert->tbs.p, cert->tbs.len, sha256_hash, false); -+ mbedtls_sha256_ret(cert->tbs.p, cert->tbs.len, sha256_hash, false); - if (0 != memcmp(old_sha256_hash, sha256_hash, sizeof(sha256_hash))) - { - mbedtls_ctr_drbg_update(cd_ctx, sha256_hash, 32); |