summaryrefslogtreecommitdiffstats
path: root/usr.bin/ssh/ssh-keygen.c
diff options
context:
space:
mode:
authorjakob <jakob@openbsd.org>2001-08-02 15:43:57 +0000
committerjakob <jakob@openbsd.org>2001-08-02 15:43:57 +0000
commite8d234a0c69520817a70e97fe576f5e97769554d (patch)
tree913c6078db41ad2766f5aec80bee496c4bb2db1a /usr.bin/ssh/ssh-keygen.c
parentadd smartcard to usage(). ok markus@ (diff)
downloadwireguard-openbsd-e8d234a0c69520817a70e97fe576f5e97769554d.tar.xz
wireguard-openbsd-e8d234a0c69520817a70e97fe576f5e97769554d.zip
add /* SMARTCARD */ to #else/#endif. ok markus@
Diffstat (limited to 'usr.bin/ssh/ssh-keygen.c')
-rw-r--r--usr.bin/ssh/ssh-keygen.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/usr.bin/ssh/ssh-keygen.c b/usr.bin/ssh/ssh-keygen.c
index a4d834f6e91..ed2ed577615 100644
--- a/usr.bin/ssh/ssh-keygen.c
+++ b/usr.bin/ssh/ssh-keygen.c
@@ -12,7 +12,7 @@
*/
#include "includes.h"
-RCSID("$OpenBSD: ssh-keygen.c,v 1.77 2001/08/02 15:06:52 jakob Exp $");
+RCSID("$OpenBSD: ssh-keygen.c,v 1.78 2001/08/02 15:43:57 jakob Exp $");
#include <openssl/evp.h>
#include <openssl/pem.h>
@@ -32,7 +32,7 @@ RCSID("$OpenBSD: ssh-keygen.c,v 1.77 2001/08/02 15:06:52 jakob Exp $");
#include <sectok.h>
#include <openssl/engine.h>
#include "scard.h"
-#endif
+#endif /* SMARTCARD */
/* Number of bits in the RSA/DSA key. This value can be changed on the command line. */
int bits = 1024;
@@ -511,7 +511,7 @@ do_download(struct passwd *pw, const char *sc_reader_id)
fprintf(stdout, "\n");
exit(0);
}
-#endif
+#endif /* SMARTCARD */
static void
do_fingerprint(struct passwd *pw)
@@ -938,9 +938,9 @@ main(int ac, char **av)
do_download(pw, reader_id);
else
do_upload(pw, reader_id);
-#else
+#else /* SMARTCARD */
fatal("no support for smartcards.");
-#endif
+#endif /* SMARTCARD */
}
arc4random_stir();