Skip to content

Commit

Permalink
Merge pull request #7551 from gojimmypi/PR-DSA-SHA1
Browse files Browse the repository at this point in the history
Add settings.h check: DSA needs SHA1
  • Loading branch information
dgarske authored May 21, 2024
2 parents 603b5d1 + 543a746 commit caaa9fe
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions wolfssl/wolfcrypt/settings.h
Original file line number Diff line number Diff line change
Expand Up @@ -3591,6 +3591,10 @@ extern void uITRON4_free(void *p) ;
#error "OPENSSL_EXTRA can not be defined with OPENSSL_COEXIST"
#endif

#if !defined(NO_DSA) && defined(NO_SHA)
#error "Please disable DSA if disabling SHA-1"
#endif

/* if configure.ac turned on this feature, HAVE_ENTROPY_MEMUSE will be set,
* also define HAVE_WOLFENTROPY */
#ifdef HAVE_ENTROPY_MEMUSE
Expand Down

0 comments on commit caaa9fe

Please sign in to comment.