summaryrefslogtreecommitdiffstats
path: root/ssl
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2022-11-01 15:57:56 +0000
committerHugo Landau <hlandau@openssl.org>2022-11-14 07:51:17 +0000
commitc89c21f8f59d4973b7ccda6d6aaa2756636e2121 (patch)
treefb544310e87a794f4a6d805b789f3d4d32553248 /ssl
parent1e42708e175f1453bd12f4632fbc0c61bade4e81 (diff)
Move tls_pad.c into ssl/record/methods
This file is used by libssl record layer methods and therefore should now be in the methods subdir Reviewed-by: Hugo Landau <hlandau@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/19586)
Diffstat (limited to 'ssl')
-rw-r--r--ssl/record/build.info6
-rw-r--r--ssl/record/methods/build.info7
-rw-r--r--ssl/record/methods/tls_pad.c (renamed from ssl/record/tls_pad.c)0
3 files changed, 7 insertions, 6 deletions
diff --git a/ssl/record/build.info b/ssl/record/build.info
index 13238863a6..42bc3f3611 100644
--- a/ssl/record/build.info
+++ b/ssl/record/build.info
@@ -13,11 +13,5 @@ ENDIF
SOURCE[../../libssl]=\
rec_layer_s3.c rec_layer_d1.c ssl3_record.c
-# For shared builds we need to include the sources needed in providers
-# (tls_pad.c) in libssl as well.
-SHARED_SOURCE[../../libssl]=tls_pad.c
-
-SOURCE[../../providers/libcommon.a]=tls_pad.c
-
DEFINE[../../libssl]=$AESDEF
diff --git a/ssl/record/methods/build.info b/ssl/record/methods/build.info
index f31acd10b9..8b1af5dd5d 100644
--- a/ssl/record/methods/build.info
+++ b/ssl/record/methods/build.info
@@ -14,3 +14,10 @@ IF[{- !$disabled{'deprecated-3.0'} -}]
ENDIF
SOURCE[../../../providers/libdefault.a ../../../providers/libfips.a]=ssl3_cbc.c
+
+# For shared builds we need to include the sources needed in providers
+# (tls_pad.c) in libssl as well.
+SHARED_SOURCE[../../../libssl]=tls_pad.c
+
+SOURCE[../../../providers/libcommon.a]=tls_pad.c
+
diff --git a/ssl/record/tls_pad.c b/ssl/record/methods/tls_pad.c
index 7311c8266a..7311c8266a 100644
--- a/ssl/record/tls_pad.c
+++ b/ssl/record/methods/tls_pad.c