Skip to content

Commit

Permalink
Fix PKINIT verify_kdc_eku trace logging
Browse files Browse the repository at this point in the history
Test the value of the eku_accepted output parameter, not the pointer.
  • Loading branch information
greghudson committed Jul 5, 2012
1 parent 74acab1 commit 8af8d51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins/preauth/pkinit/pkinit_clnt.c
Original file line number Diff line number Diff line change
Expand Up @@ -665,7 +665,7 @@ verify_kdc_eku(krb5_context context,
}

out:
if (eku_accepted)
if (*eku_accepted)
TRACE_PKINIT_CLIENT_EKU_ACCEPT(context);
else
TRACE_PKINIT_CLIENT_EKU_REJECT(context);
Expand Down

0 comments on commit 8af8d51

Please sign in to comment.