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:21:15 +0100
commitad287371fb65bac8228598cddad355cdd71a004f (patch)
tree00c3859a7207317fb3dcb117f11d5aec589526e7
parentebfdfd9a1422354650d219603132590f04812be1 (diff)
downloadlibssh-ad287371fb65bac8228598cddad355cdd71a004f.tar.gz
libssh-ad287371fb65bac8228598cddad355cdd71a004f.tar.xz
libssh-ad287371fb65bac8228598cddad355cdd71a004f.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 */