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

Missing salt define #165

Merged
merged 1 commit into from Oct 12, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions source/unix/openssl_rsa.c
Expand Up @@ -209,8 +209,8 @@ static int s_set_signature_ctx_from_algo(EVP_PKEY_CTX *ctx, enum aws_rsa_signatu
return AWS_OP_ERR;
}

#if defined(OPENSSL_IS_BORINGSSL)
int saltlen = -1; /* RSA_PSS_SALTLEN_DIGEST not defined in BoringSSL */
#if defined(OPENSSL_IS_BORINGSSL) || OPENSSL_VERSION_NUMBER < 0x10100000L
int saltlen = -1; /* RSA_PSS_SALTLEN_DIGEST not defined in BoringSSL and old versions of openssl */
#else
int saltlen = RSA_PSS_SALTLEN_DIGEST;
#endif
Expand Down