aboutsummaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2016-01-12 03:40:27 +0100
committerRichard Levitte <levitte@openssl.org>2016-01-12 04:44:24 +0100
commitd4b009d5f88875ac0e3ac0b2b9689ed16a4c88dc (patch)
tree32fa5d8ac5b0888b34eb93b9f60094a4a36e2131 /util
parentfd40db9ecd39302e4d5c6f4e3929a02d0b093d76 (diff)
downloadopenssl-d4b009d5f88875ac0e3ac0b2b9689ed16a4c88dc.tar.gz
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>
Diffstat (limited to 'util')
-rwxr-xr-xutil/mkdef.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/mkdef.pl b/util/mkdef.pl
index da2dbd3e5b..a2fdada181 100755
--- a/util/mkdef.pl
+++ b/util/mkdef.pl
@@ -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=(-"