Skip to content

Commit

Permalink
Merge pull request #4718 from kojo1/oss-compat
Browse files Browse the repository at this point in the history
compatibility for EVP_CipherUpdate with AES-GCM
  • Loading branch information
SparkiDev authored Jun 17, 2024
2 parents 5df5720 + b7a28cc commit 7018f46
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions wolfssl/wolfcrypt/settings.h
Original file line number Diff line number Diff line change
Expand Up @@ -3086,6 +3086,12 @@ extern void uITRON4_free(void *p) ;
#define OPENSSL_EXTRA_X509_SMALL
#endif /* OPENSSL_EXTRA */

/* compatibility for EVP_CipherUpdate with AES-GCM */
#if defined(OPENSSL_EXTRA) || defined(OPENSSL_ALL)
#undef WOLFSSL_AESGCM_STREAM
#define WOLFSSL_AESGCM_STREAM
#endif

/* support for converting DER to PEM */
#if (defined(WOLFSSL_KEY_GEN) && !defined(WOLFSSL_NO_DER_TO_PEM)) || \
defined(WOLFSSL_CERT_GEN) || defined(OPENSSL_EXTRA)
Expand Down

0 comments on commit 7018f46

Please sign in to comment.