New function _hx509_Name_to_string.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18058 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -145,11 +145,15 @@ stringtooid(const char *name, size_t len)
|
|||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
int
|
int
|
||||||
hx509_name_to_string(const hx509_name name, char **str)
|
hx509_name_to_string(const hx509_name name, char **str)
|
||||||
{
|
{
|
||||||
const Name *n = &name->der_name;
|
return _hx509_Name_to_string(&name->der_name, str);
|
||||||
|
}
|
||||||
|
|
||||||
|
int
|
||||||
|
_hx509_Name_to_string(const const Name *n, char **str)
|
||||||
|
{
|
||||||
size_t total_len = 0;
|
size_t total_len = 0;
|
||||||
int i, j;
|
int i, j;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user