Skip to content
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

Use raw string for literal backslashes #10934

Merged
merged 1 commit into from May 5, 2024
Merged

Conversation

DimitriPapadopoulos
Copy link
Contributor

I might be missing something, but I believe these backslashes require a raw string:

/* define our OpenSSL API compatibility level to 1.1.0. Any symbols older than
that will raise an error during compilation. */

/win/wincrypt_shim.h
*/

#define CRYPTOGRAPHY_OPENSSL_300_OR_GREATER \
(OPENSSL_VERSION_NUMBER >= 0x30000000 && !CRYPTOGRAPHY_IS_LIBRESSL)
#define CRYPTOGRAPHY_OPENSSL_320_OR_GREATER \
(OPENSSL_VERSION_NUMBER >= 0x30200000 && !CRYPTOGRAPHY_IS_LIBRESSL)

@alex alex enabled auto-merge (squash) May 5, 2024 14:14
@alex
Copy link
Member

alex commented May 5, 2024

CI is broken and needs #10936 to fix it. Once that merges this can be rebased.

auto-merge was automatically disabled May 5, 2024 15:57

Head branch was pushed to by a user without write access

@reaperhulk reaperhulk enabled auto-merge (squash) May 5, 2024 16:02
@reaperhulk reaperhulk merged commit 43e905b into pyca:main May 5, 2024
58 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants