Hello list,
I noticed two things about field hash_len of structure
_LIBSSH2_HOSTKEY_METHOD:
1) It seems unused in the current code base,
2) If its goal is to describe the signing/verification algorithm, it is
wrongly set to MD5 in hostkey.c for hostkey_method_ssh_rsa,
hostkey_method_ssh_rsa_cert and hostkey_method_ssh_dss.
Correct me if I'm wrong.
But please, don't remove it yet: I'm currently working on os400qc3
modernization and will probably need to pass it to the init() procedures
to include the algo in the key context, as required by the Qc3 API.
Thanks for your confirmation.
Regards,
Patrick
--
libssh2-devel mailing list
libssh2-devel@lists.haxx.se
https://lists.haxx.se/mailman/listinfo/libssh2-devel