summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDaniel Kahn Gillmor <dkg@fifthhorseman.net>2008-07-22 23:22:56 -0400
committerDaniel Kahn Gillmor <dkg@fifthhorseman.net>2008-07-22 23:22:56 -0400
commited280485f20fc3d092202cd07bc0c9cd9665cd89 (patch)
tree4778b585b482c79718017f4076337c002dda80cb /src
parent7afba903dd5b325b3a65e01c7a446e62eef7f4a1 (diff)
fixing return code error in openpgp2ssh, preparing for new release.
Diffstat (limited to 'src')
-rw-r--r--src/keytrans/openpgp2ssh.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/keytrans/openpgp2ssh.c b/src/keytrans/openpgp2ssh.c
index 5cc6cfa..36fb30a 100644
--- a/src/keytrans/openpgp2ssh.c
+++ b/src/keytrans/openpgp2ssh.c
@@ -491,6 +491,8 @@ int main(int argc, char* argv[]) {
err(0,"Translating public key\n");
ret = emit_public_openssh_from_pgp(&pgp_crt, fingerprint, fpr_size);
+ if (ret != 0)
+ return ret;
} else {
/* we have no idea what kind of key this is at all anyway! */