Skip to content

Commit

Permalink
Merge pull request wolfSSL#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 and jefferyq2 committed Jun 9, 2024
1 parent b624a7e commit 666bbcd
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 666bbcd

Please sign in to comment.