Mercurial > dropbear
view dh_groups.h @ 1227:5dde22e8a189
scp: Have `fatal()' append a newline to the message
Date: Wed, 4 Nov 2015 20:33:19 -0000
It would seem that it's standard practice not to include a newline in the message
text, but that results in poor formatting, as a shell's command line then begins
on the line of the error message itself.
This commit simply instructs `fatal()' to append a newline after the message,
which should be suitable behavior for all of the invocations I've come across.
author | Michael Witten <mfwitten@gmail.com> |
---|---|
date | Tue, 19 Jan 2016 00:23:19 +0800 |
parents | 6a7938ba004a |
children | 739b3909c499 |
line wrap: on
line source
#ifndef DROPBEAR_DH_GROUPS_H #define DROPBEAR_DH_GROUPS_H #include "options.h" #define DH_P_1_LEN 128 extern const unsigned char dh_p_1[DH_P_1_LEN]; #define DH_P_14_LEN 256 extern const unsigned char dh_p_14[DH_P_14_LEN]; #ifdef DROPBEAR_DH_GROUP15 #define DH_P_15_LEN 384 extern const unsigned char dh_p_15[DH_P_15_LEN]; #endif #ifdef DROPBEAR_DH_GROUP16 #define DH_P_16_LEN 512 extern const unsigned char dh_p_16[DH_P_16_LEN]; #endif extern const int DH_G_VAL; #endif