Reset out variables.

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19963 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2007-01-17 16:01:22 +00:00
parent 5e5d0e2aa1
commit 01a98f8ead
4 changed files with 6 additions and 4 deletions

View File

@@ -42,8 +42,7 @@ gss_oid_to_str(OM_uint32 *minor_status, gss_OID oid, gss_buffer_t oid_str)
heim_oid o;
char *p;
oid_str->value = NULL;
oid_str->length = 0;
_mg_buffer_zero(oid_str);
ret = der_get_oid (oid->elements, oid->length, &o, &size);
if (ret) {