aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAris Adamantiadis <aris@0xbadc0de.be>2014-01-07 14:20:49 +0100
committerAris Adamantiadis <aris@0xbadc0de.be>2014-01-07 14:20:49 +0100
commit8fdfa132277f5df46e24aa4104dbf234ba7ac37a (patch)
tree4afbb2aa5ab970dc920c9cb044a3c030c1e4f4e9
parent9d90d15e911c7ab17e1b3fafea2a23d2b027006b (diff)
downloadlibssh-8fdfa132277f5df46e24aa4104dbf234ba7ac37a.tar.gz
libssh-8fdfa132277f5df46e24aa4104dbf234ba7ac37a.tar.xz
libssh-8fdfa132277f5df46e24aa4104dbf234ba7ac37a.zip
pki: fix gcrypt signature process
-rw-r--r--src/pki_gcrypt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pki_gcrypt.c b/src/pki_gcrypt.c
index 2ca5e873..e696e422 100644
--- a/src/pki_gcrypt.c
+++ b/src/pki_gcrypt.c
@@ -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 */