diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | scard.c | 4 | ||||
-rw-r--r-- | ssh-agent.c | 6 | ||||
-rw-r--r-- | ssh-keygen.c | 4 | ||||
-rw-r--r-- | ssh.c | 10 |
5 files changed, 16 insertions, 13 deletions
@@ -122,6 +122,9 @@ | |||
122 | - jakob@cvs.openbsd.org 2001/08/02 15:43:57 | 122 | - jakob@cvs.openbsd.org 2001/08/02 15:43:57 |
123 | [ssh-agent.c ssh.c ssh-keygen.c] | 123 | [ssh-agent.c ssh.c ssh-keygen.c] |
124 | add /* SMARTCARD */ to #else/#endif. ok markus@ | 124 | add /* SMARTCARD */ to #else/#endif. ok markus@ |
125 | - jakob@cvs.openbsd.org 2001/08/02 16:14:05 | ||
126 | [scard.c ssh-agent.c ssh.c ssh-keygen.c] | ||
127 | clean up some /* SMARTCARD */. ok markus@ | ||
125 | 128 | ||
126 | 20010803 | 129 | 20010803 |
127 | - (djm) Fix interrupted read in entropy gatherer. Spotted by markus@ on | 130 | - (djm) Fix interrupted read in entropy gatherer. Spotted by markus@ on |
@@ -6232,4 +6235,4 @@ | |||
6232 | - Wrote replacements for strlcpy and mkdtemp | 6235 | - Wrote replacements for strlcpy and mkdtemp |
6233 | - Released 1.0pre1 | 6236 | - Released 1.0pre1 |
6234 | 6237 | ||
6235 | $Id: ChangeLog,v 1.1458 2001/08/06 21:57:31 mouring Exp $ | 6238 | $Id: ChangeLog,v 1.1459 2001/08/06 21:59:25 mouring Exp $ |
@@ -24,7 +24,7 @@ | |||
24 | 24 | ||
25 | #ifdef SMARTCARD | 25 | #ifdef SMARTCARD |
26 | #include "includes.h" | 26 | #include "includes.h" |
27 | RCSID("$OpenBSD: scard.c,v 1.12 2001/08/01 23:38:45 markus Exp $"); | 27 | RCSID("$OpenBSD: scard.c,v 1.13 2001/08/02 16:14:05 jakob Exp $"); |
28 | 28 | ||
29 | #include <openssl/engine.h> | 29 | #include <openssl/engine.h> |
30 | #include <sectok.h> | 30 | #include <sectok.h> |
@@ -369,4 +369,4 @@ sc_get_key(const char *id) | |||
369 | return k; | 369 | return k; |
370 | sc_close(); | 370 | sc_close(); |
371 | } | 371 | } |
372 | #endif | 372 | #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 @@ | |||
1 | /* $OpenBSD: ssh-agent.c,v 1.70 2001/08/02 15:43:57 jakob Exp $ */ | 1 | /* $OpenBSD: ssh-agent.c,v 1.71 2001/08/02 16:14:05 jakob Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * Author: Tatu Ylonen <ylo@cs.hut.fi> | 4 | * Author: Tatu Ylonen <ylo@cs.hut.fi> |
@@ -36,7 +36,7 @@ | |||
36 | */ | 36 | */ |
37 | 37 | ||
38 | #include "includes.h" | 38 | #include "includes.h" |
39 | RCSID("$OpenBSD: ssh-agent.c,v 1.70 2001/08/02 15:43:57 jakob Exp $"); | 39 | RCSID("$OpenBSD: ssh-agent.c,v 1.71 2001/08/02 16:14:05 jakob Exp $"); |
40 | 40 | ||
41 | #include <openssl/evp.h> | 41 | #include <openssl/evp.h> |
42 | #include <openssl/md5.h> | 42 | #include <openssl/md5.h> |
@@ -59,7 +59,7 @@ RCSID("$OpenBSD: ssh-agent.c,v 1.70 2001/08/02 15:43:57 jakob Exp $"); | |||
59 | #ifdef SMARTCARD | 59 | #ifdef SMARTCARD |
60 | #include <openssl/engine.h> | 60 | #include <openssl/engine.h> |
61 | #include "scard.h" | 61 | #include "scard.h" |
62 | #endif /* SMARTCARD */ | 62 | #endif |
63 | 63 | ||
64 | typedef struct { | 64 | typedef struct { |
65 | int fd; | 65 | 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 @@ | |||
12 | */ | 12 | */ |
13 | 13 | ||
14 | #include "includes.h" | 14 | #include "includes.h" |
15 | RCSID("$OpenBSD: ssh-keygen.c,v 1.78 2001/08/02 15:43:57 jakob Exp $"); | 15 | RCSID("$OpenBSD: ssh-keygen.c,v 1.79 2001/08/02 16:14:05 jakob Exp $"); |
16 | 16 | ||
17 | #include <openssl/evp.h> | 17 | #include <openssl/evp.h> |
18 | #include <openssl/pem.h> | 18 | #include <openssl/pem.h> |
@@ -32,7 +32,7 @@ RCSID("$OpenBSD: ssh-keygen.c,v 1.78 2001/08/02 15:43:57 jakob Exp $"); | |||
32 | #include <sectok.h> | 32 | #include <sectok.h> |
33 | #include <openssl/engine.h> | 33 | #include <openssl/engine.h> |
34 | #include "scard.h" | 34 | #include "scard.h" |
35 | #endif /* SMARTCARD */ | 35 | #endif |
36 | 36 | ||
37 | /* Number of bits in the RSA/DSA key. This value can be changed on the command line. */ | 37 | /* Number of bits in the RSA/DSA key. This value can be changed on the command line. */ |
38 | int bits = 1024; | 38 | int bits = 1024; |
@@ -39,7 +39,7 @@ | |||
39 | */ | 39 | */ |
40 | 40 | ||
41 | #include "includes.h" | 41 | #include "includes.h" |
42 | RCSID("$OpenBSD: ssh.c,v 1.136 2001/08/02 15:43:57 jakob Exp $"); | 42 | RCSID("$OpenBSD: ssh.c,v 1.137 2001/08/02 16:14:05 jakob Exp $"); |
43 | 43 | ||
44 | #include <openssl/evp.h> | 44 | #include <openssl/evp.h> |
45 | #include <openssl/err.h> | 45 | #include <openssl/err.h> |
@@ -72,7 +72,7 @@ RCSID("$OpenBSD: ssh.c,v 1.136 2001/08/02 15:43:57 jakob Exp $"); | |||
72 | #ifdef SMARTCARD | 72 | #ifdef SMARTCARD |
73 | #include <openssl/engine.h> | 73 | #include <openssl/engine.h> |
74 | #include "scard.h" | 74 | #include "scard.h" |
75 | #endif /* SMARTCARD */ | 75 | #endif |
76 | 76 | ||
77 | #ifdef HAVE___PROGNAME | 77 | #ifdef HAVE___PROGNAME |
78 | extern char *__progname; | 78 | extern char *__progname; |
@@ -171,7 +171,7 @@ usage(void) | |||
171 | "(default: ~/.ssh/identity)\n"); | 171 | "(default: ~/.ssh/identity)\n"); |
172 | #ifdef SMARTCARD | 172 | #ifdef SMARTCARD |
173 | fprintf(stderr, " -I reader Set smartcard reader.\n"); | 173 | fprintf(stderr, " -I reader Set smartcard reader.\n"); |
174 | #endif /* SMARTCARD */ | 174 | #endif |
175 | fprintf(stderr, " -t Tty; allocate a tty even if command is given.\n"); | 175 | fprintf(stderr, " -t Tty; allocate a tty even if command is given.\n"); |
176 | fprintf(stderr, " -T Do not allocate a tty.\n"); | 176 | fprintf(stderr, " -T Do not allocate a tty.\n"); |
177 | fprintf(stderr, " -v Verbose; display verbose debugging messages.\n"); | 177 | fprintf(stderr, " -v Verbose; display verbose debugging messages.\n"); |
@@ -376,9 +376,9 @@ again: | |||
376 | case 'I': | 376 | case 'I': |
377 | #ifdef SMARTCARD | 377 | #ifdef SMARTCARD |
378 | options.smartcard_device = xstrdup(optarg); | 378 | options.smartcard_device = xstrdup(optarg); |
379 | #else /* SMARTCARD */ | 379 | #else |
380 | fprintf(stderr, "no support for smartcards.\n"); | 380 | fprintf(stderr, "no support for smartcards.\n"); |
381 | #endif /* SMARTCARD */ | 381 | #endif |
382 | break; | 382 | break; |
383 | case 't': | 383 | case 't': |
384 | if (tty_flag) | 384 | if (tty_flag) |