check for value of get_mic, not that is a pointer. cid#141

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24109 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2008-12-11 05:01:10 +00:00
parent 0e01d8fa11
commit b35c56fff6

View File

@@ -512,7 +512,7 @@ acceptor_complete(OM_uint32 * minor_status,
if (verify_mic) {
ret = verify_mechlist_mic(minor_status, ctx, mech_buf, mic);
if (ret) {
if (get_mic)
if (*get_mic)
send_reject (minor_status, output_token);
if (buf.value)
free(buf.value);