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:
Love Hörnquist Åstrand
2006-09-08 09:52:39 +00:00
parent b67169a918
commit 2acf7df729

View File

@@ -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;