diff options
author | Tom Yu <tlyu@mit.edu> | 2006-07-17 16:39:35 +0000 |
---|---|---|
committer | Tom Yu <tlyu@mit.edu> | 2006-07-17 16:39:35 +0000 |
commit | 1906a20956c85f399332e65fe1a2440a4030fc92 (patch) | |
tree | c15b6303bbb21c23f0e253acdd4bab0e87273828 /src/lib/gssapi | |
parent | e4be5e71b3098990a9de169fa6415787890802da (diff) | |
download | krb5-1906a20956c85f399332e65fe1a2440a4030fc92.zip krb5-1906a20956c85f399332e65fe1a2440a4030fc92.tar.gz krb5-1906a20956c85f399332e65fe1a2440a4030fc92.tar.bz2 |
reverse test for copy_oid_set in lib/gssapi/krb5/indicate_mechs.c
* 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
Diffstat (limited to 'src/lib/gssapi')
-rw-r--r-- | src/lib/gssapi/krb5/indicate_mechs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/gssapi/krb5/indicate_mechs.c b/src/lib/gssapi/krb5/indicate_mechs.c index 9f2a2a1..c7ee474 100644 --- a/src/lib/gssapi/krb5/indicate_mechs.c +++ b/src/lib/gssapi/krb5/indicate_mechs.c @@ -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); |