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:
fef58ce
)
Fix OID encoding for one component.
author
Dr. Stephen Henson
<steve@openssl.org>
Fri, 27 Jun 2014 02:17:15 +0000
(
03:17
+0100)
committer
Dr. Stephen Henson
<steve@openssl.org>
Fri, 27 Jun 2014 02:17:15 +0000
(
03:17
+0100)
OIDs with one component don't have an encoding.
PR#2556 (Bug#1)
crypto/objects/obj_dat.pl
patch
|
blob
|
history
diff --git
a/crypto/objects/obj_dat.pl
b/crypto/objects/obj_dat.pl
index c67f71c3277bd96f3674749ed839a16e6437255a..86bcefb97af1394f2ce172041168a6f083e442d1 100644
(file)
--- a/
crypto/objects/obj_dat.pl
+++ b/
crypto/objects/obj_dat.pl
@@
-115,7
+115,7
@@
for ($i=0; $i<$n; $i++)
$out.="\"$sn\"";
$out.=","."\"$ln\"";
$out.=",NID_$nid{$i},";
- if (defined($obj{$nid{$i}}))
+ if (defined($obj{$nid{$i}})
&& $objd{$obj{$nid{$i}}} =~ /,/
)
{
$v=$objd{$obj{$nid{$i}}};
$v =~ s/L//g;