diff options
author | 1999-11-22 21:02:38 +0000 | |
---|---|---|
committer | 1999-11-22 21:02:38 +0000 | |
commit | ae4f3c9fde77827895bdde83a1c53d6990fab734 (patch) | |
tree | addd454a6968b308756be2ec3b4575e4a34cae5c /usr.bin/ssh/cipher.c | |
parent | -V, for fallback to openssh in SSH2 compatibility mode (diff) | |
download | wireguard-openbsd-ae4f3c9fde77827895bdde83a1c53d6990fab734.tar.xz wireguard-openbsd-ae4f3c9fde77827895bdde83a1c53d6990fab734.zip |
syslog changes:
* Unified Logmessage for all auth-types, for success and for failed
* Standard connections get only ONE line in the LOG when level==LOG:
Auth-attempts are logged only, if authentication is:
a) successfull or
b) with passwd or
c) we had more than AUTH_FAIL_LOG failues
* many log() became verbose()
* old behaviour with level=VERBOSE
Diffstat (limited to 'usr.bin/ssh/cipher.c')
-rw-r--r-- | usr.bin/ssh/cipher.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/ssh/cipher.c b/usr.bin/ssh/cipher.c index c4283373ee0..b6f04d9a404 100644 --- a/usr.bin/ssh/cipher.c +++ b/usr.bin/ssh/cipher.c @@ -12,7 +12,7 @@ Created: Wed Apr 19 17:41:39 1995 ylo */ #include "includes.h" -RCSID("$Id: cipher.c,v 1.14 1999/11/15 21:38:53 markus Exp $"); +RCSID("$Id: cipher.c,v 1.15 1999/11/22 21:02:38 markus Exp $"); #include "ssh.h" #include "cipher.h" @@ -264,7 +264,7 @@ void cipher_encrypt(CipherContext *context, unsigned char *dest, break; default: - fatal("cipher_encrypt: unknown cipher: %d", context->type); + fatal("cipher_encrypt: unknown cipher: %s", cipher_name(context->type)); } } @@ -299,6 +299,6 @@ void cipher_decrypt(CipherContext *context, unsigned char *dest, break; default: - fatal("cipher_decrypt: unknown cipher: %d", context->type); + fatal("cipher_decrypt: unknown cipher: %s", cipher_name(context->type)); } } |