Fix typo in lib/krb5/pcache.c

This commit is contained in:
Nicolas Williams
2013-09-12 13:32:22 -05:00
parent 129b4f3720
commit 72f29bd807

View File

@@ -48,7 +48,7 @@ cc_plugin_register_to_context(krb5_context context, const void *plug, void *plug
krb5_cc_ops *ccops = (krb5_cc_ops *)plugctx; krb5_cc_ops *ccops = (krb5_cc_ops *)plugctx;
krb5_error_code ret; krb5_error_code ret;
if (ccops == NULL && ccops->version < KRB5_CC_OPS_VERSION) if (ccops == NULL || ccops->version < KRB5_CC_OPS_VERSION)
return KRB5_PLUGIN_NO_HANDLE; return KRB5_PLUGIN_NO_HANDLE;
ret = krb5_cc_register(context, ccops, TRUE); ret = krb5_cc_register(context, ccops, TRUE);