diff options
author | Andy Polyakov <appro@openssl.org> | 2015-02-09 15:59:09 +0100 |
---|---|---|
committer | Andy Polyakov <appro@openssl.org> | 2015-02-09 16:00:25 +0100 |
commit | cb43fd046716466e1c6cb0655563ebd74aaa1dac (patch) | |
tree | d212b6212c5916579d55a711f2d9e754556c24ff /crypto | |
parent | ba25221226f0c9b033d8ff8a2a2bde8b359c6426 (diff) |
Bring objects.pl output even closer to new format.
Reviewed-by: Matt Caswell <matt@openssl.org>
(cherry picked from commit 849037169d98d070c27d094ac341fc6aca1ed2ca)
Diffstat (limited to 'crypto')
-rw-r--r-- | crypto/objects/objects.pl | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/crypto/objects/objects.pl b/crypto/objects/objects.pl index a653985a59..d0ed459d3d 100644 --- a/crypto/objects/objects.pl +++ b/crypto/objects/objects.pl @@ -187,7 +187,6 @@ print OUT <<'EOF'; #define LN_undef "undefined" #define NID_undef 0 #define OBJ_undef 0L - EOF sub expand @@ -202,11 +201,11 @@ sub expand foreach (sort { $a <=> $b } keys %ordern) { $Cname=$ordern{$_}; + print OUT "\n"; print OUT expand("#define SN_$Cname\t\t\"$sn{$Cname}\"\n") if $sn{$Cname} ne ""; print OUT expand("#define LN_$Cname\t\t\"$ln{$Cname}\"\n") if $ln{$Cname} ne ""; print OUT expand("#define NID_$Cname\t\t$nid{$Cname}\n") if $nid{$Cname} ne ""; print OUT expand("#define OBJ_$Cname\t\t$obj{$Cname}\n") if $obj{$Cname} ne ""; - print OUT "\n"; } close OUT; |