checker warning
authorLove Hörnquist Åstrand <lha@kth.se>
Sun, 22 Mar 2009 17:23:44 +0000 (17:23 +0000)
committerLove Hörnquist Åstrand <lha@kth.se>
Sun, 22 Mar 2009 17:23:44 +0000 (17:23 +0000)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24921 ec53bebd-3082-4978-b11e-865c3cabbd6b

lib/gssapi/mech/gss_aeap.c

index a802bdef3f9d06272ded284596d7d26be80562b2..cbe0cd146093399237b7fa5fc1e8e8c81fada39f 100644 (file)
@@ -55,7 +55,8 @@ gss_wrap_iov(OM_uint32 * minor_status,
        m = ctx->gc_mech;
 
        if (m->gm_wrap_iov == NULL) {
-           *minor_status = 0;
+           if (minor_status)
+               *minor_status = 0;
            return GSS_S_UNAVAILABLE;
        }