have compiled the Toolkit with --enable-debug option so that run-time
debugging is enabled.
+<br /> <br />
+Then, to say in your application you would like to use the debugging use
+the SILC_ENABLE_DEBUG macro. Put this macro to your main header file, or
+some other file that needs the debugging enabled. After using this macro
+you are able to use the debugging routines provided by the SILC Toolkit.
+Note that, the Toolkit library must be compiled with --enable-debug for
+this macro to have any effect.
+
<br /> <br />
To turn on the run-time debugging set the global variable "silc_debug" to
TRUE. To see packet hexdumps you can set also "silc_debug_hexdump" to TRUE.
in includes/version.h file. */
client = silc_client_alloc(&ops, NULL, NULL, silc_version_string);
- /* Register default ciphers, pkcs, hash funtions and hmacs. */
- silc_cipher_register_default();
- silc_pkcs_register_default();
- silc_hash_register_default();
- silc_hmac_register_default();
-
/* Set the mandatory pointers, read public and private key from
files (or somewhere) and return pointers and PKCS context. */
client->username = silc_get_username();