diff options
author | Ben Lindstrom <mouring@eviladmin.org> | 2001-08-06 23:57:31 +0200 |
---|---|---|
committer | Ben Lindstrom <mouring@eviladmin.org> | 2001-08-06 23:57:31 +0200 |
commit | ffce1476383e513c252452d444d17af59c14ef2c (patch) | |
tree | 3db1f9722242be49dcd9c23ad706b31902d92f9e | |
parent | - jakob@cvs.openbsd.org 2001/08/02 15:32:10 (diff) | |
download | openssh-ffce1476383e513c252452d444d17af59c14ef2c.tar.xz openssh-ffce1476383e513c252452d444d17af59c14ef2c.zip |
- 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@
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | ssh-agent.c | 10 | ||||
-rw-r--r-- | ssh-keygen.c | 10 | ||||
-rw-r--r-- | ssh.c | 10 |
4 files changed, 19 insertions, 16 deletions
@@ -119,6 +119,9 @@ - jakob@cvs.openbsd.org 2001/08/02 15:32:10 [ssh.c] add smartcard to usage(). ok markus@ + - 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@ 20010803 - (djm) Fix interrupted read in entropy gatherer. Spotted by markus@ on @@ -6229,4 +6232,4 @@ - Wrote replacements for strlcpy and mkdtemp - Released 1.0pre1 -$Id: ChangeLog,v 1.1457 2001/08/06 21:53:42 mouring Exp $ +$Id: ChangeLog,v 1.1458 2001/08/06 21:57:31 mouring Exp $ diff --git a/ssh-agent.c b/ssh-agent.c index 1df3ccd11..a396fe035 100644 --- a/ssh-agent.c +++ b/ssh-agent.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ssh-agent.c,v 1.69 2001/08/01 22:03:33 markus Exp $ */ +/* $OpenBSD: ssh-agent.c,v 1.70 2001/08/02 15:43:57 jakob Exp $ */ /* * Author: Tatu Ylonen <ylo@cs.hut.fi> @@ -36,7 +36,7 @@ */ #include "includes.h" -RCSID("$OpenBSD: ssh-agent.c,v 1.69 2001/08/01 22:03:33 markus Exp $"); +RCSID("$OpenBSD: ssh-agent.c,v 1.70 2001/08/02 15:43:57 jakob Exp $"); #include <openssl/evp.h> #include <openssl/md5.h> @@ -59,7 +59,7 @@ RCSID("$OpenBSD: ssh-agent.c,v 1.69 2001/08/01 22:03:33 markus Exp $"); #ifdef SMARTCARD #include <openssl/engine.h> #include "scard.h" -#endif +#endif /* SMARTCARD */ typedef struct { int fd; @@ -549,7 +549,7 @@ process_remove_smartcard_key(SocketEntry *e) buffer_put_char(&e->output, success ? SSH_AGENT_SUCCESS : SSH_AGENT_FAILURE); } -#endif +#endif /* SMARTCARD */ /* dispatch incoming messages */ @@ -615,7 +615,7 @@ process_message(SocketEntry *e) case SSH_AGENTC_REMOVE_SMARTCARD_KEY: process_remove_smartcard_key(e); break; -#endif +#endif /* SMARTCARD */ default: /* Unknown message. Respond with failure. */ error("Unknown message %d", type); diff --git a/ssh-keygen.c b/ssh-keygen.c index faa27d219..6e71ac707 100644 --- a/ssh-keygen.c +++ b/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; @@ -515,7 +515,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) @@ -946,9 +946,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(); @@ -39,7 +39,7 @@ */ #include "includes.h" -RCSID("$OpenBSD: ssh.c,v 1.135 2001/08/02 15:32:10 jakob Exp $"); +RCSID("$OpenBSD: ssh.c,v 1.136 2001/08/02 15:43:57 jakob Exp $"); #include <openssl/evp.h> #include <openssl/err.h> @@ -72,7 +72,7 @@ RCSID("$OpenBSD: ssh.c,v 1.135 2001/08/02 15:32:10 jakob Exp $"); #ifdef SMARTCARD #include <openssl/engine.h> #include "scard.h" -#endif +#endif /* SMARTCARD */ #ifdef HAVE___PROGNAME extern char *__progname; @@ -376,9 +376,9 @@ again: case 'I': #ifdef SMARTCARD options.smartcard_device = xstrdup(optarg); -#else +#else /* SMARTCARD */ fprintf(stderr, "no support for smartcards.\n"); -#endif +#endif /* SMARTCARD */ break; case 't': if (tty_flag) @@ -1195,7 +1195,7 @@ load_public_identity_files(void) key_free(public); } -#endif +#endif /* SMARTCARD */ for (; i < options.num_identity_files; i++) { filename = tilde_expand_filename(options.identity_files[i], original_real_uid); |