Displaying 1 result from an estimated 1 matches for "cert_str".
Did you mean:
cert_attr
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_WARNING, &qu...