Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Matt Johnston
dropbear
Commits
893d7be5
Commit
893d7be5
authored
Jan 01, 2016
by
Francois Perrad
Committed by
Matt Johnston
Mar 16, 2016
Browse files
const variables
parent
c5b77e1b
Changes
2
Hide whitespace changes
Inline
Side-by-side
common-algo.c
View file @
893d7be5
...
...
@@ -265,13 +265,13 @@ static const struct dropbear_kex kex_dh_group16_sha512 = {DROPBEAR_KEX_NORMAL_DH
ecc_curve at runtime */
#ifdef DROPBEAR_ECDH
#ifdef DROPBEAR_ECC_256
static
struct
dropbear_kex
kex_ecdh_nistp256
=
{
DROPBEAR_KEX_ECDH
,
NULL
,
0
,
&
ecc_curve_nistp256
,
&
sha256_desc
};
static
const
struct
dropbear_kex
kex_ecdh_nistp256
=
{
DROPBEAR_KEX_ECDH
,
NULL
,
0
,
&
ecc_curve_nistp256
,
&
sha256_desc
};
#endif
#ifdef DROPBEAR_ECC_384
static
struct
dropbear_kex
kex_ecdh_nistp384
=
{
DROPBEAR_KEX_ECDH
,
NULL
,
0
,
&
ecc_curve_nistp384
,
&
sha384_desc
};
static
const
struct
dropbear_kex
kex_ecdh_nistp384
=
{
DROPBEAR_KEX_ECDH
,
NULL
,
0
,
&
ecc_curve_nistp384
,
&
sha384_desc
};
#endif
#ifdef DROPBEAR_ECC_521
static
struct
dropbear_kex
kex_ecdh_nistp521
=
{
DROPBEAR_KEX_ECDH
,
NULL
,
0
,
&
ecc_curve_nistp521
,
&
sha512_desc
};
static
const
struct
dropbear_kex
kex_ecdh_nistp521
=
{
DROPBEAR_KEX_ECDH
,
NULL
,
0
,
&
ecc_curve_nistp521
,
&
sha512_desc
};
#endif
#endif
/* DROPBEAR_ECDH */
...
...
signkey.c
View file @
893d7be5
...
...
@@ -29,7 +29,7 @@
#include "ssh.h"
#include "ecdsa.h"
static
const
char
*
signkey_names
[
DROPBEAR_SIGNKEY_NUM_NAMED
]
=
{
static
const
char
*
const
signkey_names
[
DROPBEAR_SIGNKEY_NUM_NAMED
]
=
{
#ifdef DROPBEAR_RSA
"ssh-rsa"
,
#endif
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment