mirror of
https://git.libssh.org/projects/libssh.git
synced 2026-02-09 09:54:25 +09:00
pki: fix gcrypt signature process
This commit is contained in:
@@ -1590,7 +1590,7 @@ ssh_signature pki_do_sign(const ssh_key privkey,
|
|||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
sig->type = privkey->type;
|
sig->type = privkey->type;
|
||||||
|
sig->type_c = privkey->type_c;
|
||||||
switch (privkey->type) {
|
switch (privkey->type) {
|
||||||
case SSH_KEYTYPE_DSS:
|
case SSH_KEYTYPE_DSS:
|
||||||
/* That is to mark the number as positive */
|
/* That is to mark the number as positive */
|
||||||
|
|||||||
Reference in New Issue
Block a user