-
Notifications
You must be signed in to change notification settings - Fork 18
Issue #295: Implement support for the OpenSSH-specific ChaChaPoly SSH… #296
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
Conversation
dd81ebe
to
8e3f533
Compare
lib/proxy/ssh/auth.c
Outdated
@@ -1178,6 +1178,8 @@ int proxy_ssh_auth_handle(struct proxy_ssh_packet *pkt, | |||
if (msg_type == PROXY_SSH_MSG_USER_AUTH_REQUEST) { | |||
uint32_t len; | |||
|
|||
(void) len; | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is to quell the following compiler warning:
lib/proxy/ssh/auth.c:1179:14: warning: variable 'len' set but not used [-Wunused-but-set-variable]
1179 | uint32_t len;
@@ -3041,6 +3041,8 @@ static int decrypt_openssh_data(pool *p, const char *path, | |||
uint32_t buflen, key_len, rounds, salt_len, len = 0; | |||
size_t passphrase_len; | |||
|
|||
(void) len; | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These changes, not related to the ChaChaPoly implementation, are to quell compiler warnings about "set but not used" values.
8e3f533
to
d6d4145
Compare
d6d4145
to
de6bb2e
Compare
… algorithm.