Add hx509_name_is_null_p

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17367 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2006-04-30 07:35:36 +00:00
parent 4a99bbcc37
commit 832c728396

View File

@@ -504,3 +504,9 @@ _hx509_unparse_Name(const Name *aname, char **str)
hx509_name_free(&name);
return ret;
}
int
hx509_name_is_null_p(const hx509_name name)
{
return name->der_name.u.rdnSequence.len == 0;
}