From: Dr. Stephen Henson Date: Sun, 8 Apr 2007 17:45:03 +0000 (+0000) Subject: Fix OID config module. X-Git-Tag: OpenSSL_0_9_8f~121 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=1cb7e5be5becb10909631f41da0dfff50bd6b1b6;p=oweals%2Fopenssl.git Fix OID config module. --- diff --git a/crypto/asn1/asn_moid.c b/crypto/asn1/asn_moid.c index 72cc1210be..9132350f10 100644 --- a/crypto/asn1/asn_moid.c +++ b/crypto/asn1/asn_moid.c @@ -149,7 +149,7 @@ static int do_create(char *value, char *name) if (lntmp == NULL) return 0; memcpy(lntmp, ln, p - ln); - lntmp[p - ln + 1] = 0; + lntmp[p - ln] = 0; oid = OBJ_nid2obj(nid); oid->ln = lntmp; }