Commit d1c87578 authored by Richard Levitte's avatar Richard Levitte
Browse files

VMS: fix library compatibility settings in util/mkdef.pl



The regexp to parse the incoming version number was flawed, and since
we allow ourselves to add missing APIs in PATCH releases, the
compatibility settings still need to include the PATCH part of the
version number.

Reviewed-by: default avatarMatthias St. Pierre <Matthias.St.Pierre@ncp-e.com>
(Merged from https://github.com/openssl/openssl/pull/7858)
parent 2bafe6cf
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -386,7 +386,9 @@ _____
_____

    if (defined $version) {
        my ($libvmajor, $libvminor) = $version =~ /^(\d+)_(\d+)$/;
        $version =~ /^(\d+)\.(\d+)\.(\d+)/;
        my $libvmajor = $1;
        my $libvminor = $2 * 100 + $3;
        print <<"_____";
GSMATCH=LEQUAL,$libvmajor,$libvminor;
_____