projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
baecb96
)
Fix from stable branch.
author
Dr. Stephen Henson
<steve@openssl.org>
Sun, 8 Apr 2007 17:45:47 +0000
(17:45 +0000)
committer
Dr. Stephen Henson
<steve@openssl.org>
Sun, 8 Apr 2007 17:45:47 +0000
(17:45 +0000)
crypto/asn1/asn_moid.c
patch
|
blob
|
history
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;
}