reverse test for copy_oid_set in lib/gssapi/krb5/indicate_mechs.c
authorTom Yu <tlyu@mit.edu>
Mon, 17 Jul 2006 16:39:35 +0000 (16:39 +0000)
committerTom Yu <tlyu@mit.edu>
Mon, 17 Jul 2006 16:39:35 +0000 (16:39 +0000)
* src/lib/gssapi/krb5/indicate_mechs.c: Reverse sense of test,
since gssint_copy_oid_set() returns 0 on success.

ticket: new
target_version: 1.5.1
tags: pullup

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18330 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/gssapi/krb5/indicate_mechs.c

index 9f2a2a1aa00d74de568af717d5b7ac31efdb5a52..c7ee4746fd304c289af08cb7dd1ae13add15ed3c 100644 (file)
@@ -34,7 +34,7 @@ krb5_gss_indicate_mechs(minor_status, mech_set)
 {
    *minor_status = 0;
 
-   if (gssint_copy_oid_set(minor_status, gss_mech_set_krb5_both, mech_set)) {
+   if (gssint_copy_oid_set(minor_status, gss_mech_set_krb5_both, mech_set)) {
          *mech_set     = GSS_C_NO_OID_SET;
          *minor_status = ENOMEM;
          return(GSS_S_FAILURE);