summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDaniel Kahn Gillmor <dkg@fifthhorseman.net>2008-09-05 00:09:05 -0400
committerDaniel Kahn Gillmor <dkg@fifthhorseman.net>2008-09-05 00:09:05 -0400
commit9556a2f1659aa6432cc74469a25d401319d74e79 (patch)
tree925c16f020e7006b9971c22d71a214f31901ff0e /src
parent650b8394c0248d055544e046c988ac0b3056afe0 (diff)
more porting tweaks: do not rely on the -w arg to base64, so we can use fourmilab instead of GNU
Diffstat (limited to 'src')
-rw-r--r--src/keytrans/openpgp2ssh.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/keytrans/openpgp2ssh.c b/src/keytrans/openpgp2ssh.c
index 427adc8..f16eac5 100644
--- a/src/keytrans/openpgp2ssh.c
+++ b/src/keytrans/openpgp2ssh.c
@@ -208,7 +208,7 @@ int emit_public_openssh_from_pgp(const gnutls_openpgp_crt_t* pgp_crt, const unsi
/* variables for the output conversion: */
int pipestatus;
int pipefd, child_pid;
- char* const b64args[] = {"base64", "--wrap=0", NULL};
+ char* const b64args[] = {"sh", "-c", "base64 | tr -c -d '[A-Za-z0-9=+/]'", NULL};
init_datum(&m);
init_datum(&e);