1
0
mirror of https://git.libssh.org/projects/libssh.git synced 2025-08-08 19:02:06 +03:00

pki: fix gcrypt signature process

This commit is contained in:
Aris Adamantiadis
2014-01-07 14:20:49 +01:00
parent ebfdfd9a14
commit ad287371fb

View File

@@ -1590,7 +1590,7 @@ ssh_signature pki_do_sign(const ssh_key privkey,
return NULL;
}
sig->type = privkey->type;
sig->type_c = privkey->type_c;
switch (privkey->type) {
case SSH_KEYTYPE_DSS:
/* That is to mark the number as positive */