credBuf->length = 0;
credBuf->value = NULL;
+ if (ctx->acceptorName == GSS_C_NO_NAME) {
+ *minor = GSSEAP_NO_ACCEPTOR_NAME;
+ return GSS_S_UNAVAILABLE;
+ }
+
GSSEAP_KRB_INIT(&krbContext);
code = getAcceptorKey(krbContext, ctx, cred, &server, &acceptorKey);
time_t now, expiryReq;
OM_uint32 minor;
- GSSEAP_ASSERT(cred != GSS_C_NO_CREDENTIAL);
+ if (cred == GSS_C_NO_CREDENTIAL)
+ return FALSE;
now = time(NULL);
expiryReq = now;
#ifndef HAVE_HEIMDAL_VERSION
static gss_buffer_desc radiusAvpKrbAttr = {
- sizeof("urn:authdata-radius-avp") - 1, "urn:authdata-radius-avp"
+ sizeof("urn:authdata-aaa-radius") - 1, "urn:authdata-aaa-radius"
};
#endif
gssReleaseName(OM_uint32 *minor,
gss_name_t *name)
{
- if (gssReleaseName == NULL) {
+ if (gssReleaseNameNext == NULL) {
*minor = GSSEAP_NO_MECHGLUE_SYMBOL;
return GSS_S_UNAVAILABLE;
}