comparison dh_groups.c @ 1703:ee6ccc2ecc47

Fix typo DROPBEAR_NORMAL_DH
author Matt Johnston <matt@ucc.asn.au>
date Thu, 28 May 2020 23:23:54 +0800
parents 8f93f37c01de
children
comparison
equal deleted inserted replaced
1702:8f93f37c01de 1703:ee6ccc2ecc47
1 #include "options.h" 1 #include "options.h"
2 #include "dh_groups.h" 2 #include "dh_groups.h"
3 3
4 #if DROPBEAR_DH_NORMAL 4 #if DROPBEAR_NORMAL_DH
5 5
6 #if DROPBEAR_DH_GROUP1 6 #if DROPBEAR_DH_GROUP1
7 /* diffie-hellman-group1-sha1 value for p */ 7 /* diffie-hellman-group1-sha1 value for p */
8 const unsigned char dh_p_1[DH_P_1_LEN] = { 8 const unsigned char dh_p_1[DH_P_1_LEN] = {
9 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xC9, 0x0F, 0xDA, 0xA2, 9 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xC9, 0x0F, 0xDA, 0xA2,
92 #endif /* DROPBEAR_DH_GROUP16 */ 92 #endif /* DROPBEAR_DH_GROUP16 */
93 93
94 /* Same for all groups */ 94 /* Same for all groups */
95 const int DH_G_VAL = 2; 95 const int DH_G_VAL = 2;
96 96
97 #endif 97 #endif /* DROPBEAR_NORMAL_DH */