From bcc1808bf26c36a393e0caf852d921cec59802c4 Mon Sep 17 00:00:00 2001 From: Ben Lindstrom Date: Mon, 6 Aug 2001 21:59:25 +0000 Subject: - jakob@cvs.openbsd.org 2001/08/02 16:14:05 [scard.c ssh-agent.c ssh.c ssh-keygen.c] clean up some /* SMARTCARD */. ok markus@ --- ChangeLog | 5 ++++- scard.c | 4 ++-- ssh-agent.c | 6 +++--- ssh-keygen.c | 4 ++-- ssh.c | 10 +++++----- 5 files changed, 16 insertions(+), 13 deletions(-) diff --git a/ChangeLog b/ChangeLog index 4a56e9cda..ffcda8ce6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -122,6 +122,9 @@ - jakob@cvs.openbsd.org 2001/08/02 15:43:57 [ssh-agent.c ssh.c ssh-keygen.c] add /* SMARTCARD */ to #else/#endif. ok markus@ + - jakob@cvs.openbsd.org 2001/08/02 16:14:05 + [scard.c ssh-agent.c ssh.c ssh-keygen.c] + clean up some /* SMARTCARD */. ok markus@ 20010803 - (djm) Fix interrupted read in entropy gatherer. Spotted by markus@ on @@ -6232,4 +6235,4 @@ - Wrote replacements for strlcpy and mkdtemp - Released 1.0pre1 -$Id: ChangeLog,v 1.1458 2001/08/06 21:57:31 mouring Exp $ +$Id: ChangeLog,v 1.1459 2001/08/06 21:59:25 mouring Exp $ diff --git a/scard.c b/scard.c index cfcd953bd..6e6de2f32 100644 --- a/scard.c +++ b/scard.c @@ -24,7 +24,7 @@ #ifdef SMARTCARD #include "includes.h" -RCSID("$OpenBSD: scard.c,v 1.12 2001/08/01 23:38:45 markus Exp $"); +RCSID("$OpenBSD: scard.c,v 1.13 2001/08/02 16:14:05 jakob Exp $"); #include #include @@ -369,4 +369,4 @@ sc_get_key(const char *id) return k; sc_close(); } -#endif +#endif /* SMARTCARD */ diff --git a/ssh-agent.c b/ssh-agent.c index a396fe035..3e8eb0601 100644 --- a/ssh-agent.c +++ b/ssh-agent.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ssh-agent.c,v 1.70 2001/08/02 15:43:57 jakob Exp $ */ +/* $OpenBSD: ssh-agent.c,v 1.71 2001/08/02 16:14:05 jakob Exp $ */ /* * Author: Tatu Ylonen @@ -36,7 +36,7 @@ */ #include "includes.h" -RCSID("$OpenBSD: ssh-agent.c,v 1.70 2001/08/02 15:43:57 jakob Exp $"); +RCSID("$OpenBSD: ssh-agent.c,v 1.71 2001/08/02 16:14:05 jakob Exp $"); #include #include @@ -59,7 +59,7 @@ RCSID("$OpenBSD: ssh-agent.c,v 1.70 2001/08/02 15:43:57 jakob Exp $"); #ifdef SMARTCARD #include #include "scard.h" -#endif /* SMARTCARD */ +#endif typedef struct { int fd; diff --git a/ssh-keygen.c b/ssh-keygen.c index 6e71ac707..cd1674b04 100644 --- a/ssh-keygen.c +++ b/ssh-keygen.c @@ -12,7 +12,7 @@ */ #include "includes.h" -RCSID("$OpenBSD: ssh-keygen.c,v 1.78 2001/08/02 15:43:57 jakob Exp $"); +RCSID("$OpenBSD: ssh-keygen.c,v 1.79 2001/08/02 16:14:05 jakob Exp $"); #include #include @@ -32,7 +32,7 @@ RCSID("$OpenBSD: ssh-keygen.c,v 1.78 2001/08/02 15:43:57 jakob Exp $"); #include #include #include "scard.h" -#endif /* SMARTCARD */ +#endif /* Number of bits in the RSA/DSA key. This value can be changed on the command line. */ int bits = 1024; diff --git a/ssh.c b/ssh.c index ee3f0c6a0..e2d2c16bd 100644 --- a/ssh.c +++ b/ssh.c @@ -39,7 +39,7 @@ */ #include "includes.h" -RCSID("$OpenBSD: ssh.c,v 1.136 2001/08/02 15:43:57 jakob Exp $"); +RCSID("$OpenBSD: ssh.c,v 1.137 2001/08/02 16:14:05 jakob Exp $"); #include #include @@ -72,7 +72,7 @@ RCSID("$OpenBSD: ssh.c,v 1.136 2001/08/02 15:43:57 jakob Exp $"); #ifdef SMARTCARD #include #include "scard.h" -#endif /* SMARTCARD */ +#endif #ifdef HAVE___PROGNAME extern char *__progname; @@ -171,7 +171,7 @@ usage(void) "(default: ~/.ssh/identity)\n"); #ifdef SMARTCARD fprintf(stderr, " -I reader Set smartcard reader.\n"); -#endif /* SMARTCARD */ +#endif fprintf(stderr, " -t Tty; allocate a tty even if command is given.\n"); fprintf(stderr, " -T Do not allocate a tty.\n"); fprintf(stderr, " -v Verbose; display verbose debugging messages.\n"); @@ -376,9 +376,9 @@ again: case 'I': #ifdef SMARTCARD options.smartcard_device = xstrdup(optarg); -#else /* SMARTCARD */ +#else fprintf(stderr, "no support for smartcards.\n"); -#endif /* SMARTCARD */ +#endif break; case 't': if (tty_flag) -- cgit v1.2.3