mirror of
https://github.com/openwrt/packages.git
synced 2026-04-15 10:51:55 +00:00
The new DCO module depends on OpenVPN 2.7.1. For details refer to https://github.com/OpenVPN/openvpn/blob/v2.7.1/Changes.rst Removed upstreamed wolfSSL patches: - 101-Fix-EVP_PKEY_CTX_-compilation-with-wolfSSL.patch - 102-Disable-external-ec-key-support-when-building-with-wolfSSL.patch Reworked 100-mbedtls-disable-runtime-version-check.patch to use MBEDTLS_VERSION_STRING instead of a mutable buffer. Signed-off-by: Qingfang Deng <dqfext@gmail.com>
13 lines
409 B
Diff
13 lines
409 B
Diff
--- a/src/openvpn/ssl_verify_openssl.c
|
|
+++ b/src/openvpn/ssl_verify_openssl.c
|
|
@@ -253,6 +253,9 @@ backend_x509_get_username(char *common_n
|
|
return FAILURE;
|
|
}
|
|
}
|
|
+#if defined(ENABLE_CRYPTO_WOLFSSL)
|
|
+ #define LN_serialNumber "serialNumber"
|
|
+#endif
|
|
else if (strcmp(LN_serialNumber, x509_username_field) == 0)
|
|
{
|
|
ASN1_INTEGER *asn1_i = X509_get_serialNumber(peer_cert);
|