[openssl-commits] [openssl] master update

Matt Caswell matt at openssl.org
Mon Oct 17 10:44:45 UTC 2016


The branch master has been updated
       via  455cba54f8078897edcee7bc56dc2689c20fc383 (commit)
      from  8bdce8d160e29b4e1b80fec31f618d85d8c2b7a8 (commit)


- Log -----------------------------------------------------------------
commit 455cba54f8078897edcee7bc56dc2689c20fc383
Author: Matt Caswell <matt at openssl.org>
Date:   Sat Oct 15 23:13:29 2016 +0100

    Allow older versions in the *.num files
    
    In 1.1.0 we only allowed a strictly increasing version number in the *.num
    files, i.e. you could never introduce a symbol at the end of the *.num file
    with a lower version number than the one preceding it. This made sense for
    1.1.0. However in master we may be introducing symbols for backport to
    1.1.0. Therefore it is ok in master to have a symbol for version 1.1.0c
    coming after a symbol for version 1.1.1.
    
    This commit fixes the check in mkdef.pl to be a bit looser to allow this.
    
    Reviewed-by: Richard Levitte <levitte at openssl.org>

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

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

diff --git a/util/mkdef.pl b/util/mkdef.pl
index 7640293..c5884d3 100755
--- a/util/mkdef.pl
+++ b/util/mkdef.pl
@@ -1630,8 +1630,7 @@ sub check_version_lte()
 	if ($cvnums ne $tvnums) {
 		die "Invalid version number: $testversion "
 			."for current version $currversion\n"
-			if (substr($cvnums, -1) < substr($tvnums, -1)
-				|| substr($cvnums, 0, 4) ne substr($tvnums, 0, 4));
+			if (substr($cvnums, 0, 4) ne substr($tvnums, 0, 4));
 		return;
 	}
 	#If we get here then the base version (i.e. the numbers) are the same - they


More information about the openssl-commits mailing list