Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable sha1 when WOLFSSH_NO_SHA1_SOFT_DISABLE is enabled #698

Merged
merged 1 commit into from
May 30, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/internal.c
Original file line number Diff line number Diff line change
Expand Up @@ -13490,7 +13490,8 @@ static int PrepareUserAuthRequestPublicKey(WOLFSSH* ssh, word32* payloadSz,
#ifndef WOLFSSH_NO_RSA_SHA2_256
algoId[algoIdSz++] = ID_RSA_SHA2_256;
#endif
#ifndef WOLFSSH_NO_SSH_RSA_SHA1
#if !defined(WOLFSSH_NO_SSH_RSA_SHA1) \
&& defined(WOLFSSH_NO_SHA1_SOFT_DISABLE)
algoId[algoIdSz++] = ID_SSH_RSA;
#endif
}
Expand Down
Loading