Skip to content

Commit fb92a35

Browse files
authored
Merge pull request #833 from anhu/fips_with_no_hashdrbg
Allow building with hashdrbg disabled under fips
2 parents 8b83d63 + 4f93776 commit fb92a35

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ssh.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ int wolfSSH_Init(void)
7272
#ifdef HAVE_FIPS
7373
wolfCrypt_SetCb_fips(myFipsCb);
7474
#endif
75-
#ifdef WC_RNG_SEED_CB
75+
#if defined(WC_RNG_SEED_CB) && defined(HAVE_HASHDRBG)
7676
wc_SetSeed_Cb(wc_GenerateSeed);
7777
#endif
7878
#if !defined(NO_FILESYSTEM) && defined(WOLFSSH_ZEPHYR) && \

0 commit comments

Comments
 (0)