mirror of
https://github.com/FreeRDP/FreeRDP.git
synced 2025-06-03 00:00:20 +00:00
libfreerdp-core: fix issue #436
This commit is contained in:
parent
5d7e55fe9d
commit
aa7b83ff1e
@ -443,7 +443,7 @@ char** crypto_cert_subject_alt_name(X509* xcert, int* count, int** lengths)
|
|||||||
{
|
{
|
||||||
length = ASN1_STRING_to_UTF8(&string, subject_alt_name->d.dNSName);
|
length = ASN1_STRING_to_UTF8(&string, subject_alt_name->d.dNSName);
|
||||||
strings[*count] = (char*) string;
|
strings[*count] = (char*) string;
|
||||||
*lengths[*count] = length;
|
(*lengths)[*count] = length;
|
||||||
(*count)++;
|
(*count)++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user