[openssl-commits] [openssl] master update

Andy Polyakov appro at openssl.org
Mon Feb 9 14:59:30 UTC 2015


The branch master has been updated
       via  849037169d98d070c27d094ac341fc6aca1ed2ca (commit)
      from  c2cfc956e5ef2de480cded493b88926c7f29be18 (commit)


- Log -----------------------------------------------------------------
commit 849037169d98d070c27d094ac341fc6aca1ed2ca
Author: Andy Polyakov <appro at openssl.org>
Date:   Mon Feb 9 15:59:09 2015 +0100

    Bring objects.pl output even closer to new format.
    
    Reviewed-by: Matt Caswell <matt at openssl.org>

-----------------------------------------------------------------------

Summary of changes:
 crypto/objects/objects.pl |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/crypto/objects/objects.pl b/crypto/objects/objects.pl
index a653985..d0ed459 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;


More information about the openssl-commits mailing list