Skip to content

Commit

Permalink
Enable RSA_PSS_SIGNING_SUPPORTED when OPENSSL_IS_AWSLC. (#2801)
Browse files Browse the repository at this point in the history
  • Loading branch information
bryce-shang authored Sep 27, 2021
1 parent 01da77d commit 88002d8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions crypto/s2n_rsa_pss.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@

#include <stdint.h>
#include <s2n.h>
#include <openssl/bn.h>

#include "crypto/s2n_openssl.h"
#include "crypto/s2n_rsa.h"
Expand Down
2 changes: 1 addition & 1 deletion crypto/s2n_rsa_signing.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
#include "crypto/s2n_rsa.h"

/* Check for libcrypto 1.1 for RSA PSS Signing and EV_Key usage */
#if S2N_OPENSSL_VERSION_AT_LEAST(1, 1, 1) && !defined(LIBRESSL_VERSION_NUMBER) && !defined(OPENSSL_IS_BORINGSSL) && !defined(OPENSSL_IS_AWSLC)
#if (S2N_OPENSSL_VERSION_AT_LEAST(1, 1, 1) || defined(OPENSSL_IS_AWSLC)) && !defined(LIBRESSL_VERSION_NUMBER) && !defined(OPENSSL_IS_BORINGSSL)
#define RSA_PSS_SIGNING_SUPPORTED 1
#else
#define RSA_PSS_SIGNING_SUPPORTED 0
Expand Down

0 comments on commit 88002d8

Please sign in to comment.