The unified diff between revisions [6962b52a..] and [de230e99..] is displayed below. It can also be downloaded as a raw diff.
This diff has been restricted to the following files: 'common-kex.c'
#
#
# patch "common-kex.c"
# from [960bfda8deaa204b5866f14647f3cd86d262d93f]
# to [1b4b24a70328eb5d0878bc932f63ea940997fed3]
#
============================================================
--- common-kex.c 960bfda8deaa204b5866f14647f3cd86d262d93f
+++ common-kex.c 1b4b24a70328eb5d0878bc932f63ea940997fed3
@@ -35,7 +35,7 @@
#include "random.h"
/* diffie-hellman-group1-sha1 value for p */
-const unsigned char dh_p_val[] = {
+static const unsigned char dh_p_val[] = {
0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xC9, 0x0F, 0xDA, 0xA2,
0x21, 0x68, 0xC2, 0x34, 0xC4, 0xC6, 0x62, 0x8B, 0x80, 0xDC, 0x1C, 0xD1,
0x29, 0x02, 0x4E, 0x08, 0x8A, 0x67, 0xCC, 0x74, 0x02, 0x0B, 0xBE, 0xA6,
@@ -47,8 +47,9 @@ const unsigned char dh_p_val[] = {
0xEE, 0x38, 0x6B, 0xFB, 0x5A, 0x89, 0x9F, 0xA5, 0xAE, 0x9F, 0x24, 0x11,
0x7C, 0x4B, 0x1F, 0xE6, 0x49, 0x28, 0x66, 0x51, 0xEC, 0xE6, 0x53, 0x81,
0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF};
+#define DH_P_LEN sizeof(dh_p_val)
-const int DH_G_VAL = 2;
+static const int DH_G_VAL = 2;
static void kexinitialise();
void gen_new_keys();