-
Notifications
You must be signed in to change notification settings - Fork 476
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
Quick fixes from Trail of Bits audit Week 1 #1869
Conversation
Signed-off-by: Spencer Wilson <[email protected]>
Signed-off-by: Spencer Wilson <[email protected]>
Signed-off-by: Spencer Wilson <[email protected]>
Signed-off-by: Spencer Wilson <[email protected]>
Signed-off-by: Spencer Wilson <[email protected]>
The most recent commit is tagged with |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @SWilson4
} while (0) | ||
#else | ||
#define OQS_OPENSSL_GUARD(x) \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is the following #define triggered if "OQS_USE_OPENSSL" is NOT set? Wouldn't seem quite right.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch. I've refactored the directives so that the guard is defined if and only if OQS_USE_OPENSSL
is defined.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One nit (see separate comment); otherwise LGTM. Thanks for the improvements @SWilson4 .
I'm not seeing new CI catching these types of errors in the future: Am I looking in the wrong place?
Signed-off-by: Spencer Wilson <[email protected]>
* Remove unused variables from CI workflows * Add missing OpenSSL guards * Fix broken link and misplaced comment in common.c --------- Signed-off-by: Spencer Wilson <[email protected]> Signed-off-by: rtjk <[email protected]>
Fixes #1862
Fixes #1863
Fixes #1865