Comments (6)
Hey thanks for reaching out. I don't think we want to completely unset the variable but instead should only set it if it hasn't already been defined. I can get a PR out to try and address that.
from s2n-tls.
It is fixed for me on your tree.
from s2n-tls.
It appears that a solution might be:
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 5713558d3..55d33a548 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -176,6 +176,7 @@ target_compile_options(${PROJECT_NAME} PUBLIC -fPIC)
add_definitions(-D_POSIX_C_SOURCE=200809L)
if(CMAKE_BUILD_TYPE MATCHES Release)
+ add_definitions(-U_FORTIFY_SOURCE)
add_definitions(-D_FORTIFY_SOURCE=2)
endif()
from s2n-tls.
I've opened #4465, which should address the issue. Just need to work through the OpenBSD failure before merging it. If you want to try out my branch to confirm it fixes what you're seeing, that would also be helpful 😃
from s2n-tls.
Hi @jwbee, I've executed the ubuntu quickstart instructions on a Ubuntu 24.04 instance and have been unsuccessful in reproducing this issue so far. I've tried using GCC 12 and 13, and both succeeded. I wonder if the behavior could have changed since the prerelease. Are you still running into this issue with the final 24.04 release?
from s2n-tls.
You're right, it builds and tests on the release ubuntu, from main branch.
from s2n-tls.
Related Issues (20)
- tests(regression): add case for configs with huge numbers of certs
- Setup dependabot
- Code coverage data for regression tests
- New pcap tests can fail with older tshark
- Adopt CBMC 6.2.0
- Port Fuzz Test to CMake
- Missing null check in s2n_connection_wipe_keys
- How does s2n select a cert in the case of multiple certs provided? HOT 1
- Unpin aws-lc-rs dependency HOT 1
- Update Valgrind version in CI docker image HOT 1
- Tracking issue: Update "default" and "default_fips" to support TLS1.3
- Add seccomp test for sandboxed environments
- Refresh session ticket key on `sn2_tls::Config` ? HOT 2
- Automate fuzz test batch generation
- Tracking Issue: Handle Valgrind suppressions HOT 1
- Unpin dependencies after bumping MSRV beyond 1.66
- Pem parsing does not always detect parsing errors for last certificate
- CMake Cleanup
- setsockopt return value is not checked
- Add awslc-fips to fuzz batch list
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from s2n-tls.