Lines Matching refs:oid

40  *		(i.e. the mech oid and mech name will not be updated)
123 gss_release_oid(minor_status, oid)
125 gss_OID *oid;
153 minor_status, oid);
161 return (generic_gss_release_oid(minor_status, oid));
166 * this function will return an oid set indicating available mechanisms.
172 * a mech oid set, and only update it once the file has changed.
238 /* if the oid list already exists we must free it first */
268 /* now copy each oid element */
319 /* allocate space for the oid structures */
330 /* now copy the oid structures */
336 /* still need to copy each of the oid elements arrays */
369 __gss_get_modOptions(oid)
370 const gss_OID oid;
381 if ((aMech = searchMechList(oid)) == NULL ||
404 __gss_get_kmodName(oid)
405 const gss_OID oid;
416 if ((aMech = searchMechList(oid)) == NULL || aMech->kmodName == NULL) {
434 * given a mechanism string return the mechanism oid
437 __gss_mech_to_oid(const char *mechStr, gss_OID* oid)
441 if (oid == NULL)
444 *oid = GSS_C_NULL_OID;
461 *oid = aMech->mech_type;
471 * Given the mechanism oid, return the readable mechanism name
472 * associated with that oid from the mech config file
476 __gss_oid_to_mech(const gss_OID oid)
480 if (oid == GSS_C_NULL_OID)
488 if ((aMech = searchMechList(oid)) == NULL)
559 __gss_get_mechanism(oid)
560 const gss_OID oid;
567 if ((aMech = searchMechList(oid)) != NULL && aMech->mech) {
578 aMech = searchMechList(oid);
627 __gss_get_mechanism_ext(oid)
628 const gss_OID oid;
634 if ((aMech = searchMechList(oid)) != NULL && aMech->mech_ext != NULL)
637 if (__gss_get_mechanism(oid) == NULL)
684 static gss_mech_info searchMechList(oid)
685 const gss_OID oid;
689 /* if oid is null -> then get default which is the first in the list */
690 if (oid == GSS_C_NULL_OID)
694 if (g_OID_equal(aMech->mech_type, oid))
713 char buffer[BUFSIZ], *oidStr, *oid, *sharedLib, *kernMod, *endp;
739 for (oid = buffer; *oid && !isspace(*oid); oid++);
742 if (*oid) {
743 *oid = '\0';
744 oid++;
745 while (*oid && isspace(*oid))
746 oid++;
752 if (! *oid)
755 /* Find the end of the oid and make sure it is NULL-ended */
756 for (endp = oid; *endp && !isspace(*endp); endp++)
764 * check if an entry for this oid already exists
768 oidBuf.value = (void *)oid;
769 oidBuf.length = strlen(oid);
772 (void) syslog(LOG_INFO, "invalid mechanism oid"
773 " [%s] in configuration file", oid);
888 /* the oid is already set */