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:17 +0200 |
commit | aaae6cd97d3b99061fcf5444d491895690fb4cde (patch) | |
tree | 1e8c940daaec7d00d4bc601cbb232707011f6539 /examples/examples_common.h | |
parent | 509676e3a4743efb42fe050359cf5b0b3b5f2642 (diff) | |
download | libssh-aaae6cd97d3b99061fcf5444d491895690fb4cde.tar.gz libssh-aaae6cd97d3b99061fcf5444d491895690fb4cde.tar.xz libssh-aaae6cd97d3b99061fcf5444d491895690fb4cde.zip |
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>
Diffstat (limited to 'examples/examples_common.h')
0 files changed, 0 insertions, 0 deletions