summaryrefslogtreecommitdiffstats
path: root/src/pki.c
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2013-10-18 22:46:44 +0200
committerAndreas Schneider <asn@cryptomilk.org>2013-10-18 23:50:08 +0200
commit02f80eb288e12c5814c3a727f376d9fae907a50f (patch)
tree9eae2c46ed7be79dfc125227fcdfb8ba8ea503fc /src/pki.c
parent5b7f07b484c47497b371b97578c0581b4e96fce4 (diff)
pki: Add the type as a char pointer.
Diffstat (limited to 'src/pki.c')
-rw-r--r--src/pki.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pki.c b/src/pki.c
index 770cfc72..defc4061 100644
--- a/src/pki.c
+++ b/src/pki.c
@@ -1118,7 +1118,7 @@ int ssh_pki_export_signature_blob(const ssh_signature sig,
return SSH_ERROR;
}
- str = ssh_string_from_char(ssh_key_type_to_char(sig->type));
+ str = ssh_string_from_char(sig->type_c);
if (str == NULL) {
ssh_buffer_free(buf);
return SSH_ERROR;