(GSS_KRB5_SET_DEFAULT_REALM_X): don't fail on success.
Bug report from Stefan Metzmacher. git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19333 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -129,7 +129,7 @@ _gsskrb5_set_sec_context_option
|
||||
return GSS_S_CALL_INACCESSIBLE_READ;
|
||||
}
|
||||
str = malloc(value->length + 1);
|
||||
if (str) {
|
||||
if (str == NULL) {
|
||||
*minor_status = 0;
|
||||
return GSS_S_UNAVAILABLE;
|
||||
}
|
||||
|
Reference in New Issue
Block a user