diff options
| author | Artyom V. Poptsov <poptsov.artyom@gmail.com> | 2014-09-29 07:18:21 +0400 |
|---|---|---|
| committer | Andreas Schneider <asn@cryptomilk.org> | 2014-10-02 08:30:30 +0200 |
| commit | a033b93c616f4a81afc3fc6a017396d507d96c19 (patch) | |
| tree | 7de3fc5ae090ae4649483e1dd3a9091a40f3fe74 /include/libssh | |
| parent | b7856780a932df08963587ab763a6ef17af90045 (diff) | |
pki_gcrypt: Initialize 'type_c' in 'pki_do_sign_sessionid'
Add missing initialization of 'type_c' field of a SSH signature in
'pki_do_sign_sessionid' procedure.
If libssh is compiled with GCrypt, 'dh_handshake_server' fails with
"Could not sign the session id" error. The change fixes that.
Signed-off-by: Artyom V. Poptsov <poptsov.artyom@gmail.com>
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
(cherry picked from commit aaae6cd97d3b99061fcf5444d491895690fb4cde)
Diffstat (limited to 'include/libssh')
0 files changed, 0 insertions, 0 deletions
