search for: asn1_str

Displaying 2 results from an estimated 2 matches for "asn1_str".

Did you mean: asn_str
2023 Aug 22
0
Quick patch for updated NL-ips
Thanks to those on IRC confirming quickly that this was not something supported (yet) in Asterisk. Below is a quick fix/patch to tcptls.c for Asterisk 18 against this particular provider. Dw static int check_tcptls_cert_name(ASN1_STRING *cert_str, const char *hostname, const char *desc) { unsigned char *str; int ret; ret = ASN1_STRING_to_UTF8(&str, cert_str); if (ret < 0 || !str) { return -1; } if (strlen((char *) str) != ret) { ast_log(LOG...
2017 Sep 13
2
[RFC master-2.2 0/1] Support OpenSSL 1.1 API for setting allowed TLS versions
Hi, I came up with the following patch while trying to figure out a good solution for the situation described in Debian bug #871987[1]. In short, OpenSSL in Debian unstable has disabled TLSv1.0 and TLSv1.1 *by default*. That means that unless an application requests otherwise, only TLSv1.2 is supported. In the world of e-mail this is seemingly an issue, as there are still way too many old clients