set right return value

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25199 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2009-05-09 14:20:36 +00:00
parent f62a6180c9
commit b9455d54f4

View File

@@ -715,7 +715,7 @@ gsskrb5_extract_key(OM_uint32 *minor_status,
krb5_storage *sp = NULL;
if (context_handle == GSS_C_NO_CONTEXT) {
ret = EINVAL;
*minor_status = EINVAL;
return GSS_S_FAILURE;
}