diff options
author | Richard Levitte <levitte@openssl.org> | 2021-05-17 21:40:24 +0200 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2021-05-19 12:31:34 +0200 |
commit | 8ba3a15816c6e417967eac13ee415325c52675b4 (patch) | |
tree | 6376a2d229f935df90fac9a58bb532cf16a1c654 /Configurations/descrip.mms.tmpl | |
parent | 0cbb6f6a9ac5aa3ff813ef2e5afe6e443708ee20 (diff) |
Configurations/descrip.mms.tmpl: Add another inclusion hack
crypto/ec/curve448/ has a series of inclusions that throws VMS C
off, so we compensate for it the same way as we have done before.
Fixes #14247
Reviewed-by: Tim Hudson <tjh@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/15317)
Diffstat (limited to 'Configurations/descrip.mms.tmpl')
-rw-r--r-- | Configurations/descrip.mms.tmpl | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/Configurations/descrip.mms.tmpl b/Configurations/descrip.mms.tmpl index 0bd6855089..873d74f651 100644 --- a/Configurations/descrip.mms.tmpl +++ b/Configurations/descrip.mms.tmpl @@ -215,6 +215,19 @@ $unified_info{after}->{$obj} = qq(deassign arch); } + my $sd32 = sourcedir("crypto", "ec", "curve448", "arch_32"); + my $sd64 = sourcedir("crypto", "ec", "curve448", "arch_64"); + foreach (grep /\[\.crypto\.ec\.curve448.*?\].*?\.o$/, keys %{$unified_info{sources}}) { + my $obj = platform->obj($_); + $unified_info{before}->{$obj} + = qq(arch_32_include = F\$PARSE("$sd32","A.;",,,"SYNTAX_ONLY") - "A.;" + define arch_32 'arch_32_include' + arch_64_include = F\$PARSE("$sd64","A.;",,,"SYNTAX_ONLY") - "A.;" + define arch_64 'arch_64_include'); + $unified_info{after}->{$obj} + = qq(deassign arch_64 + deassign arch_32); + } my $sd1 = sourcedir("ssl","record"); my $sd2 = sourcedir("ssl","statem"); my @ssl_locl_users = grep(/^\[\.(?:ssl\.(?:record|statem)|test)\].*\.o$/, |