krb5: Check errors in krb5_auth_con_getauthenticator()
This commit is contained in:
@@ -557,9 +557,8 @@ krb5_auth_con_getauthenticator(krb5_context context,
|
|||||||
if (*authenticator == NULL)
|
if (*authenticator == NULL)
|
||||||
return krb5_enomem(context);
|
return krb5_enomem(context);
|
||||||
|
|
||||||
copy_Authenticator(auth_context->authenticator,
|
return copy_Authenticator(auth_context->authenticator,
|
||||||
*authenticator);
|
*authenticator);
|
||||||
return 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user