projects
/
oweals
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Correct d2i/i2d typos.
[oweals/openssl.git]
/
crypto
/
asn1
/
asn_moid.c
diff --git
a/crypto/asn1/asn_moid.c
b/crypto/asn1/asn_moid.c
index 72cc1210becdcbe6f7ebaa2e5a4c07a5496a7380..9132350f10780389bf12b800b118601a52c98bf4 100644
(file)
--- 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;
}