summaryrefslogtreecommitdiffstats
path: root/Configure
diff options
context:
space:
mode:
authorCraig Lorentzen <crlorentzen@gmail.com>2024-04-01 17:49:44 +0200
committerTomas Mraz <tomas@openssl.org>2024-05-06 10:56:17 +0200
commit1c4f9684696bad3a602b388a414f2051f0365b3d (patch)
tree3422accfd093e9c8134df4c6fb3ec2bb798f7775 /Configure
parentFix undefined behaviour in the event of a zero length session id (diff)
downloadopenssl-1c4f9684696bad3a602b388a414f2051f0365b3d.tar.xz
openssl-1c4f9684696bad3a602b388a414f2051f0365b3d.zip
Security hardening: Expose Build flags for Position Independed Execution (PIE)
Reviewed-by: Tom Cosgrove <tom.cosgrove@arm.com> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/22596)
Diffstat (limited to 'Configure')
-rwxr-xr-xConfigure6
1 files changed, 6 insertions, 0 deletions
diff --git a/Configure b/Configure
index cef9e8c3e6..f7fc016c8c 100755
--- a/Configure
+++ b/Configure
@@ -492,6 +492,7 @@ my @disablables = (
"ocsp",
"padlockeng",
"pic",
+ "pie",
"pinshared",
"poly1305",
"posix-io",
@@ -584,6 +585,7 @@ our %disabled = ( # "what" => "comment"
"external-tests" => "default",
"fuzz-afl" => "default",
"fuzz-libfuzzer" => "default",
+ "pie" => "default",
"ktls" => "default",
"md2" => "default",
"msan" => "default",
@@ -943,6 +945,10 @@ while (@argvcopy)
{
delete $disabled{"brotli"};
}
+ elsif ($1 eq "pie")
+ {
+ delete $disabled{"pie"};
+ }
elsif ($1 eq "zstd-dynamic")
{
delete $disabled{"zstd"};