gss: add gss_mg_name_to_oid internal API

Add a new function for future internal use, gss_mg_name_to_oid(), which takes
either a dot-separated OID or a "short" mechanism name (such as
"sanon-x25519"), and returns a mechanism OID.
This commit is contained in:
Luke Howard
2021-08-08 10:34:28 +10:00
parent 65651c8106
commit 5966c00701
4 changed files with 23 additions and 0 deletions

View File

@@ -701,6 +701,9 @@ gss_cred_id_t
_gss_mg_find_mech_cred(gss_const_cred_id_t cred_handle,
gss_const_OID mech_type);
GSSAPI_LIB_FUNCTION gss_const_OID
GSSAPI_CALLCONV gss_mg_name_to_oid(const char *);
#include <krb5.h>
/*