diff options
Diffstat (limited to 'ssh.h')
-rw-r--r-- | ssh.h | 13 |
1 files changed, 3 insertions, 10 deletions
@@ -12,7 +12,7 @@ | |||
12 | * called by a name other than "ssh" or "Secure Shell". | 12 | * called by a name other than "ssh" or "Secure Shell". |
13 | */ | 13 | */ |
14 | 14 | ||
15 | /* RCSID("$OpenBSD: ssh.h,v 1.51 2000/09/12 20:53:10 markus Exp $"); */ | 15 | /* RCSID("$OpenBSD: ssh.h,v 1.54 2000/10/11 20:27:24 markus Exp $"); */ |
16 | 16 | ||
17 | #ifndef SSH_H | 17 | #ifndef SSH_H |
18 | #define SSH_H | 18 | #define SSH_H |
@@ -28,14 +28,6 @@ | |||
28 | #include "rsa.h" | 28 | #include "rsa.h" |
29 | #include "cipher.h" | 29 | #include "cipher.h" |
30 | 30 | ||
31 | /* | ||
32 | * XXX | ||
33 | * The default cipher used if IDEA is not supported by the remote host. It is | ||
34 | * recommended that this be one of the mandatory ciphers (DES, 3DES), though | ||
35 | * that is not required. | ||
36 | */ | ||
37 | #define SSH_FALLBACK_CIPHER SSH_CIPHER_3DES | ||
38 | |||
39 | /* Cipher used for encrypting authentication files. */ | 31 | /* Cipher used for encrypting authentication files. */ |
40 | #define SSH_AUTHFILE_CIPHER SSH_CIPHER_3DES | 32 | #define SSH_AUTHFILE_CIPHER SSH_CIPHER_3DES |
41 | 33 | ||
@@ -98,6 +90,7 @@ | |||
98 | #define SERVER_CONFIG_FILE ETCDIR "/sshd_config" | 90 | #define SERVER_CONFIG_FILE ETCDIR "/sshd_config" |
99 | #define HOST_CONFIG_FILE ETCDIR "/ssh_config" | 91 | #define HOST_CONFIG_FILE ETCDIR "/ssh_config" |
100 | #define HOST_DSA_KEY_FILE ETCDIR "/ssh_host_dsa_key" | 92 | #define HOST_DSA_KEY_FILE ETCDIR "/ssh_host_dsa_key" |
93 | #define DH_PRIMES ETCDIR "/primes" | ||
101 | 94 | ||
102 | #ifndef SSH_PROGRAM | 95 | #ifndef SSH_PROGRAM |
103 | #define SSH_PROGRAM "/usr/bin/ssh" | 96 | #define SSH_PROGRAM "/usr/bin/ssh" |
@@ -423,7 +416,7 @@ int auth_rsa_challenge_dialog(RSA *pk); | |||
423 | * passphrase (allocated with xmalloc). Exits if EOF is encountered. If | 416 | * passphrase (allocated with xmalloc). Exits if EOF is encountered. If |
424 | * from_stdin is true, the passphrase will be read from stdin instead. | 417 | * from_stdin is true, the passphrase will be read from stdin instead. |
425 | */ | 418 | */ |
426 | char *read_passphrase(const char *prompt, int from_stdin); | 419 | char *read_passphrase(char *prompt, int from_stdin); |
427 | 420 | ||
428 | 421 | ||
429 | /*------------ Definitions for logging. -----------------------*/ | 422 | /*------------ Definitions for logging. -----------------------*/ |