]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
Fix more VMS inclusions
authorRichard Levitte <levitte@openssl.org>
Thu, 2 Feb 2023 16:51:26 +0000 (17:51 +0100)
committerRichard Levitte <levitte@openssl.org>
Wed, 8 Feb 2023 10:24:02 +0000 (11:24 +0100)
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)

Configurations/descrip.mms.tmpl

index 85a3c778b7dc05cb590e9098e2eeb2195aa06028..57834630b9fda450dd8a4d665a950ab9d7c8c908 100644 (file)
   }
   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