Fix more VMS inclusions

inclusing quic/quic_local.h from ssl/ssl_lib.c presented another challenge
for the current VMS C.  Since ssl/quic/quic_local.h in turn includes
../ssl_local.h, we compensated for with the usual whack-a-mole in
Configurations/descrip.mms.tmpl.

As far as my personal tests go, this seems to be the last fix of this sort,
so far.

Reviewed-by: Paul Dale <pauli@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/20196)
This commit is contained in:
Richard Levitte 2023-02-02 17:51:26 +01:00
parent 03fd2dcb34
commit ae08ed08e4

View File

@ -229,12 +229,18 @@
}
foreach (grep /\[\.ssl\].*?\.o$/, keys %{$unified_info{sources}}) {
my $obj = platform->obj($_);
# Most of the files in [.ssl.record.methods] include "ssl_local.h"
# which includes things like "record/record.h". Adding "./" as an
# inclusion directory helps making this sort of header from these
# directories.
# Most of the files in [.ssl] include "ssl_local.h" which includes things
# like "record/record.h". Adding "./" as an inclusion directory helps
# making this sort of header from these directories.
push @{$unified_info{includes_extra}->{$obj}}, qw(./);
}
foreach (grep /\[\.ssl\].*?ssl_lib\.o$/, keys %{$unified_info{sources}}) {
my $obj = platform->obj($_);
# Some files in [.ssl] include "quic/quic_local.h", which in turn
# includes "../ssl_local.h". Adding "./quic" as an inclusion directory
# helps making this sort of header from these directories.
push @{$unified_info{includes_extra}->{$obj}}, qw(./quic);
}
foreach (grep /\[\.ssl\.(?:record|statem)\].*?\.o$/, keys %{$unified_info{sources}}) {
my $obj = platform->obj($_);
# Most of the files in [.ssl.record] and [.ssl.statem] include