Skip to content

Commit

Permalink
Conditionalize ECDH methods in CA algos.
Browse files Browse the repository at this point in the history
When building against an OpenSSL configured without ECC, don't include
those algos in CASignatureAlgorithms.  ok djm@
  • Loading branch information
daztucker committed May 17, 2019
1 parent 5c8d14c commit 633703b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions myproposal.h
Original file line number Diff line number Diff line change
Expand Up @@ -136,9 +136,7 @@

/* Not a KEX value, but here so all the algorithm defaults are together */
#define SSH_ALLOWED_CA_SIGALGS \
"ecdsa-sha2-nistp256," \
"ecdsa-sha2-nistp384," \
"ecdsa-sha2-nistp521," \
KEX_ECDH_METHODS \
"ssh-ed25519," \
"rsa-sha2-512," \
"rsa-sha2-256," \
Expand Down

0 comments on commit 633703b

Please sign in to comment.