mirror of
https://git.libssh.org/projects/libssh.git
synced 2026-02-04 20:30:38 +09:00
messages: Set signature state explicitly
In ssh_message_new(), initialize msg->auth_request.signature_state
explicitly for better readability.
Fixes T194
Signed-off-by: Anderson Toshiyuki Sasaki <ansasaki@redhat.com>
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
(cherry picked from commit 553eab748a)
This commit is contained in:
committed by
Andreas Schneider
parent
8837d32d92
commit
eeb9ae15c7
@@ -71,6 +71,9 @@ static ssh_message ssh_message_new(ssh_session session)
|
||||
}
|
||||
msg->session = session;
|
||||
|
||||
/* Set states explicitly */
|
||||
msg->auth_request.signature_state = SSH_PUBLICKEY_STATE_NONE;
|
||||
|
||||
return msg;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user