diff options
author | 2014-07-11 13:45:45 +0000 | |
---|---|---|
committer | 2014-07-11 13:45:45 +0000 | |
commit | 5882d7fd3386497c05aea077fbe04827dcc01b6e (patch) | |
tree | 47d38579b3c5b76a78b6b8162e93e8f695200981 /lib/libssl/src/crypto/objects/obj_dat.pl | |
parent | More memory leaks and unchecked allocations; OpenSSL PR #3403 via OpenSSL (diff) | |
download | wireguard-openbsd-5882d7fd3386497c05aea077fbe04827dcc01b6e.tar.xz wireguard-openbsd-5882d7fd3386497c05aea077fbe04827dcc01b6e.zip |
Fix OID encoding for single components. OpenSSL PR #2556 via OpenSSL trunk.
(be sure to make cleandir and make includes before building)
Diffstat (limited to 'lib/libssl/src/crypto/objects/obj_dat.pl')
-rw-r--r-- | lib/libssl/src/crypto/objects/obj_dat.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libssl/src/crypto/objects/obj_dat.pl b/lib/libssl/src/crypto/objects/obj_dat.pl index c67f71c3277..86bcefb97af 100644 --- a/lib/libssl/src/crypto/objects/obj_dat.pl +++ b/lib/libssl/src/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; |