Fix OID config module.

This commit is contained in:
Dr. Stephen Henson
2007-04-08 17:45:03 +00:00
parent 84dd04e761
commit 1cb7e5be5b

View File

@@ -149,7 +149,7 @@ static int do_create(char *value, char *name)
if (lntmp == NULL) if (lntmp == NULL)
return 0; return 0;
memcpy(lntmp, ln, p - ln); memcpy(lntmp, ln, p - ln);
lntmp[p - ln + 1] = 0; lntmp[p - ln] = 0;
oid = OBJ_nid2obj(nid); oid = OBJ_nid2obj(nid);
oid->ln = lntmp; oid->ln = lntmp;
} }