more locking cleanups
[mech_eap.orig] / wrap_iov_length.c
index 7930693..24bc1a5 100644 (file)
@@ -190,6 +190,8 @@ gss_wrap_iov_length(OM_uint32 *minor,
 {
     OM_uint32 major;
 
+    *minor = 0;
+
     if (ctx == GSS_C_NO_CONTEXT)
         return GSS_S_NO_CONTEXT;