Mercurial > dropbear
diff dh_groups.c @ 1733:d529a52b2f7c coverity coverity
merge coverity from main
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Fri, 26 Jun 2020 21:07:34 +0800 |
parents | ee6ccc2ecc47 |
children |
line wrap: on
line diff
--- a/dh_groups.c Thu Mar 21 23:28:59 2019 +0800 +++ b/dh_groups.c Fri Jun 26 21:07:34 2020 +0800 @@ -1,6 +1,8 @@ #include "options.h" #include "dh_groups.h" +#if DROPBEAR_NORMAL_DH + #if DROPBEAR_DH_GROUP1 /* diffie-hellman-group1-sha1 value for p */ const unsigned char dh_p_1[DH_P_1_LEN] = { @@ -92,3 +94,4 @@ /* Same for all groups */ const int DH_G_VAL = 2; +#endif /* DROPBEAR_NORMAL_DH */