From: Pekka Riikonen Date: Wed, 27 Apr 2005 19:38:21 +0000 (+0000) Subject: 'none' cipher only in SILC_DEBUG. X-Git-Tag: silc.server.0.9.20~2 X-Git-Url: http://git.silcnet.org/gitweb/?a=commitdiff_plain;h=7de5e7f7bba05bba98579f75d36e86a121e5861b;p=silc.git 'none' cipher only in SILC_DEBUG. --- diff --git a/lib/silccrypt/silccipher.c b/lib/silccrypt/silccipher.c index 378bd73c..40b4bf2f 100644 --- a/lib/silccrypt/silccipher.c +++ b/lib/silccrypt/silccipher.c @@ -66,9 +66,11 @@ const SilcCipherObject silc_default_ciphers[] = { "cast-128-cbc", 16, 128, silc_cast_set_key, silc_cast_set_key_with_string, silc_cast_encrypt_cbc, silc_cast_decrypt_cbc, silc_cast_context_len }, +#ifdef SILC_DEBUG { "none", 0, 0, silc_none_set_key, silc_none_set_key_with_string, silc_none_encrypt_cbc, silc_none_decrypt_cbc, silc_none_context_len }, +#endif /* SILC_DEBUG */ { NULL, 0, 0, NULL, NULL, NULL, NULL, NULL } };