-
Notifications
You must be signed in to change notification settings - Fork 118
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
redundant redeclaration of X509_OBJECT_new and X509_OBJECT_free #1556
Comments
Thanks for reporting this, what compiler are you using? I'm trying to figure out why our CI didn't catch this issue. |
andrewhop
added a commit
that referenced
this issue
Apr 29, 2024
…1560) ### Issues: Resolves #1556 ### Description of changes: Remove the duplicate X509_OBJECT_new and X509_OBJECT_free declarations from #1506. ### Testing: I'm still looking into why our CI didn't catch this and what we can add that would catch this in the future. By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license and the ISC license.
andrewhop
added a commit
that referenced
this issue
Apr 29, 2024
…s on (#1561) ### Issues: Addresses #1556 ### Description of changes: Fix a few other cases of duplicate definitions and turn this on so the CI can catch this in the future. ### Call-outs: We own this s2n-bignum header file. ### Testing: We have GCC CI for x86/ARM. By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license and the ISC license.
It is gcc-12. I did not enable -Werror=redundant-decls explicitly but it was somewhere. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Problem:
X509_OBJECT_new and ‘X509_OBJECT_free are declared twice which causes compile error
aws-lc/include/openssl/x509.h
Lines 3282 to 3293 in c25dc2a
Relevant details
AWS-LC commit: v1.25.0
System information: for linux, below info can be collected by running
uname -srvmp
Build log:
The text was updated successfully, but these errors were encountered: