mirror of
https://github.com/openssl/openssl.git
synced 2025-02-05 14:10:53 +08:00
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: Rich Salz <rsalz@openssl.org>
This commit is contained in:
parent
fd40db9ecd
commit
d4b009d5f8
@ -1304,7 +1304,7 @@ EOF
|
|||||||
print OUT " $s2;\n";
|
print OUT " $s2;\n";
|
||||||
} elsif ($VMS) {
|
} elsif ($VMS) {
|
||||||
while(++$prevnum < $n) {
|
while(++$prevnum < $n) {
|
||||||
my $symline="dummy$prevcount=PRIVATE_PROCEDURE -";
|
my $symline="SPARE -";
|
||||||
if ($symvtextcount + length($symline) + 1 > 1024) {
|
if ($symvtextcount + length($symline) + 1 > 1024) {
|
||||||
print OUT ")\nSYMBOL_VECTOR=(-\n";
|
print OUT ")\nSYMBOL_VECTOR=(-\n";
|
||||||
$symvtextcount = 16; # length of "SYMBOL_VECTOR=(-"
|
$symvtextcount = 16; # length of "SYMBOL_VECTOR=(-"
|
||||||
|
Loading…
Reference in New Issue
Block a user