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

Use SPARE instead of PRIVATE_PROCEDURE to reserve unused SYMBOL_VECTOR slots



It was assumed that a dummy with the type PRIVATE_PROCEDURE would
simply occupy a slot but otherwise ignore the symbol.  Not so, but
there is SPARE for that purpose.

Reviewed-by: default avatarRich Salz <rsalz@openssl.org>
parent fd40db9e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1304,7 +1304,7 @@ EOF
						print OUT "        $s2;\n";
                                        } elsif ($VMS) {
                                            while(++$prevnum < $n) {
                                                my $symline="dummy$prevcount=PRIVATE_PROCEDURE -";
                                                my $symline="SPARE -";
                                                if ($symvtextcount + length($symline) + 1 > 1024) {
                                                    print OUT ")\nSYMBOL_VECTOR=(-\n";
                                                    $symvtextcount = 16; # length of "SYMBOL_VECTOR=(-"