diff options
author | damien <damien> | 2000-04-12 10:17:38 +0000 |
---|---|---|
committer | damien <damien> | 2000-04-12 10:17:38 +0000 |
commit | 13726e0241587ee269c6398ca9e9f9cf59e93bb1 (patch) | |
tree | 0763712631e56e91086aa55dd71a03e856247280 /cipher.h | |
parent | 8d8f3cdf03df8d9e0a17831d3a09e895b137925f (diff) | |
download | openssh-13726e0241587ee269c6398ca9e9f9cf59e93bb1.tar.gz |
- OpenBSD CVS updates:
- [channels.c]
repair x11-fwd
- [sshconnect.c]
fix passwd prompt for ssh2, less debugging output.
- [clientloop.c compat.c dsa.c kex.c sshd.c]
less debugging output
- [kex.c kex.h sshconnect.c sshd.c]
check for reasonable public DH values
- [README.openssh2 cipher.c cipher.h compat.c compat.h readconf.c]
[readconf.h servconf.c servconf.h ssh.c ssh.h sshconnect.c sshd.c]
add Cipher and Protocol options to ssh/sshd, e.g.:
ssh -o 'Protocol 1,2' if you prefer proto 1, ssh -o 'Ciphers
arcfour,3des-cbc'
- [sshd.c]
print 1.99 only if server supports both
Diffstat (limited to 'cipher.h')
-rw-r--r-- | cipher.h | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -11,7 +11,7 @@ * */ -/* RCSID("$Id: cipher.h,v 1.8 2000/04/06 02:32:39 damien Exp $"); */ +/* RCSID("$Id: cipher.h,v 1.9 2000/04/12 10:17:39 damien Exp $"); */ #ifndef CIPHER_H #define CIPHER_H @@ -88,6 +88,9 @@ const char *cipher_name(int cipher); */ int cipher_number(const char *name); +/* returns 1 if all ciphers are supported (ssh2 only) */ +int ciphers_valid(const char *names); + /* * Selects the cipher to use and sets the key. If for_encryption is true, * the key is setup for encryption; otherwise it is setup for decryption. |