Skip to content

Guards Update: cannedKeyAlgoNames#693

Merged
JacobBarthelmeh merged 1 commit intowolfSSL:masterfrom
ejohnstown:guards-update
May 16, 2024
Merged

Guards Update: cannedKeyAlgoNames#693
JacobBarthelmeh merged 1 commit intowolfSSL:masterfrom
ejohnstown:guards-update

Conversation

@ejohnstown
Copy link
Copy Markdown
Contributor

Description

  1. Update the guards around the strings used to make the cannedKeyAlgoNames. If any algorithm is disabled, leave it out of the list. (I'm looking at you Ed25519!)
  2. Added comments to those guards.
  3. Reflow the alignment.

Testing

Build wolfSSL

./configure --enable-wolfssh --enable-cryptonly && make clean && make
sudo make install

Build and test wolfSSH

./configure --enable-debug && make clean && make
./examples/client/client -u $USER -p 22

For the failure case, this client connection attempt should indicate a -1051 error occurred.

1. Update the guards around the strings used to make the
   cannedKeyAlgoNames. If any algorithm is disabled, leave it out of the
   list. (I'm looking at you Ed25519!)
2. Added comments to those guards.
3. Reflow the alignment.
@JacobBarthelmeh JacobBarthelmeh merged commit 5ef2bc5 into wolfSSL:master May 16, 2024
@ejohnstown ejohnstown deleted the guards-update branch May 16, 2024 20:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants