diff options
author | Markus Friedl <markus@cvs.openbsd.org> | 1999-11-22 21:02:40 +0000 |
---|---|---|
committer | Markus Friedl <markus@cvs.openbsd.org> | 1999-11-22 21:02:40 +0000 |
commit | e635c41f03fe35686ec48598b5ff248c2485d8bb (patch) | |
tree | 8521120e30f644f5a56001e3b3d4bc47b97bdb40 /usr.bin/ssh/cipher.c | |
parent | 2632baae61bff755f455a90159bc81cffae148f0 (diff) |
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)); } } |