(krb5_cksumtype_valid): check is checksum type is a valid one

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12481 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2003-07-22 10:14:05 +00:00
parent e62ea35927
commit 6d719817e4

View File

@@ -2698,6 +2698,14 @@ krb5_enctype_valid(krb5_context context,
return _find_enctype(etype) != NULL; return _find_enctype(etype) != NULL;
} }
krb5_error_code
krb5_cksumtype_valid(krb5_context context,
krb5_cksumtype ctype)
{
return _find_checksum(ctype) != NULL;
}
/* if two enctypes have compatible keys */ /* if two enctypes have compatible keys */
krb5_boolean krb5_boolean
krb5_enctypes_compatible_keys(krb5_context context, krb5_enctypes_compatible_keys(krb5_context context,