diff options
author | Damien Miller <djm@mindrot.org> | 2015-01-14 17:08:58 +0100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2015-01-14 17:08:58 +0100 |
commit | b03ebe2c22b8166e4f64c37737f4278676e3488d (patch) | |
tree | 4b5e6701543cc6c79f3638759c7fc420491a4719 /ssh-keygen.c | |
parent | kludge around tun API mismatch betterer (diff) | |
download | openssh-b03ebe2c22b8166e4f64c37737f4278676e3488d.tar.xz openssh-b03ebe2c22b8166e4f64c37737f4278676e3488d.zip |
more --without-openssl
fix some regressions caused by upstream merges
enable KRLs now that they no longer require BIGNUMs
Diffstat (limited to 'ssh-keygen.c')
-rw-r--r-- | ssh-keygen.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/ssh-keygen.c b/ssh-keygen.c index 75f8e2e09..7f775ff16 100644 --- a/ssh-keygen.c +++ b/ssh-keygen.c @@ -1964,7 +1964,6 @@ do_show_cert(struct passwd *pw) exit(0); } -#ifdef WITH_OPENSSL static void load_krl(const char *path, struct ssh_krl **krlp) { @@ -2106,12 +2105,10 @@ update_krl_from_file(struct passwd *pw, const char *file, const Key *ca, fclose(krl_spec); free(path); } -#endif /* WITH_OPENSSL */ static void do_gen_krl(struct passwd *pw, int updating, int argc, char **argv) { -#ifdef WITH_OPENSSL struct ssh_krl *krl; struct stat sb; Key *ca = NULL; @@ -2161,15 +2158,11 @@ do_gen_krl(struct passwd *pw, int updating, int argc, char **argv) ssh_krl_free(krl); if (ca != NULL) key_free(ca); -#else /* WITH_OPENSSL */ - fatal("KRLs not supported without OpenSSL"); -#endif /* WITH_OPENSSL */ } static void do_check_krl(struct passwd *pw, int argc, char **argv) { -#ifdef WITH_OPENSSL int i, r, ret = 0; char *comment; struct ssh_krl *krl; @@ -2192,9 +2185,6 @@ do_check_krl(struct passwd *pw, int argc, char **argv) } ssh_krl_free(krl); exit(ret); -#else /* WITH_OPENSSL */ - fatal("KRLs not supported without OpenSSL"); -#endif /* WITH_OPENSSL */ } static void |