projects
/
silc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1fcb911
)
'none' cipher only in SILC_DEBUG.
author
Pekka Riikonen
<priikone@silcnet.org>
Wed, 27 Apr 2005 19:38:21 +0000
(19:38 +0000)
committer
Pekka Riikonen
<priikone@silcnet.org>
Wed, 27 Apr 2005 19:38:21 +0000
(19:38 +0000)
lib/silccrypt/silccipher.c
patch
|
blob
|
history
diff --git
a/lib/silccrypt/silccipher.c
b/lib/silccrypt/silccipher.c
index 378bd73cc1d93d677dd0ec4e737c00903ff4d685..40b4bf2f0c89789c010843763e462f60e0eaa7e8 100644
(file)
--- 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 }
};