Don't include the NUL in the length of the string.

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19926 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2007-01-16 10:26:07 +00:00
parent d2752533aa
commit 5138355930

View File

@@ -59,7 +59,7 @@ gss_oid_to_str(OM_uint32 *minor_status, gss_OID oid, gss_buffer_t oid_str)
}
oid_str->value = p;
oid_str->length = strlen(p) + 1;
oid_str->length = strlen(p);
*minor_status = 0;
return GSS_S_COMPLETE;