[openssh-commits] [openssh] 01/01: upstream: don't #ifdef out the KRL code when compiling without
git+noreply at mindrot.org
git+noreply at mindrot.org
Tue Jan 21 22:10:36 AEDT 2020
This is an automated email from the git hooks/post-receive script.
djm pushed a commit to branch master
in repository openssh.
commit 80d3bebcab96fe1d177e45906e10db16895da01d
Author: djm at openbsd.org <djm at openbsd.org>
Date: Tue Jan 21 11:06:09 2020 +0000
upstream: don't #ifdef out the KRL code when compiling without
libcrypto support; it works just fine and disabling it breaks a few tests. ok
dtucker@
OpenBSD-Commit-ID: 65f6272c4241eb4b04de78b012fe98b2b555ad44
---
ssh-keygen.c | 10 +---------
1 file changed, 1 insertion(+), 9 deletions(-)
diff --git a/ssh-keygen.c b/ssh-keygen.c
index 6b497da1..ecfea8c2 100644
--- a/ssh-keygen.c
+++ b/ssh-keygen.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ssh-keygen.c,v 1.383 2020/01/14 15:07:30 naddy Exp $ */
+/* $OpenBSD: ssh-keygen.c,v 1.384 2020/01/21 11:06:09 djm Exp $ */
/*
* Author: Tatu Ylonen <ylo at cs.hut.fi>
* Copyright (c) 1994 Tatu Ylonen <ylo at cs.hut.fi>, Espoo, Finland
@@ -3365,21 +3365,13 @@ main(int argc, char **argv)
usage();
}
if (gen_krl) {
-#ifdef WITH_OPENSSL
do_gen_krl(pw, update_krl, ca_key_path,
cert_serial, identity_comment, argc, argv);
return (0);
-#else
- fatal("KRL generation not supported");
-#endif
}
if (check_krl) {
-#ifdef WITH_OPENSSL
do_check_krl(pw, argc, argv);
return (0);
-#else
- fatal("KRL checking not supported");
-#endif
}
if (ca_key_path != NULL) {
if (cert_key_id == NULL)
--
To stop receiving notification emails like this one, please contact
djm at mindrot.org.
More information about the openssh-commits
mailing list