/* Version of the package. */
#undef VERSION
-/* Debugging */
-#undef SILC_DEBUG
-
/* Default configuration file */
#undef SILC_SERVER_CONFIG_FILE
/* These can be defined only on other than Win32 systems */
#ifndef SILC_WIN32
+
+/* Debugging */
+#undef SILC_DEBUG
+
+/* Multi-thread support */
#undef SILC_HAVE_PTHREAD
+
+/* IPv6 Support */
#undef HAVE_IPV6
-#endif
+
+#endif /* SILC_WIN32 */
/* Default paths */
#undef SILC_ETCDIR
if (cipher) {
for (i = 0; silc_default_ciphers[i].name; i++)
if (!strcmp(silc_default_ciphers[i].name, cipher)) {
- silc_cipher_register(&silc_default_ciphers[i]);
+ silc_cipher_register((SilcCipherObject *)&silc_default_ciphers[i]);
break;
}
if (hash) {
for (i = 0; silc_default_hash[i].name; i++)
if (!strcmp(silc_default_hash[i].name, hash)) {
- silc_hash_register(&silc_default_hash[i]);
+ silc_hash_register((SilcHashObject *)&silc_default_hash[i]);
break;
}
if (hmac) {
for (i = 0; silc_default_hmacs[i].name; i++)
if (!strcmp(silc_default_hmacs[i].name, hmac)) {
- silc_hmac_register(&silc_default_hmacs[i]);
+ silc_hmac_register((SilcHmacObject *)&silc_default_hmacs[i]);
break;
}
if SILC_MP_NSS_MPI
MP_SOURCE = mp_mpi.c
if SILC_DIST_TOOLKIT
-MP_HEADERS = mpi/mpi.h mpi/mplogic.h mpi/mpprime.h mpi/mpi-config.h
+MP_HEADER = mpi/mpi.h mpi/mplogic.h mpi/mpprime.h mpi/mpi-config.h
else
-MP_HEADERS =
+MP_HEADER =
endif
else
MP_SOURCE = mp_gmp.c
-MP_HEADERS =
+MP_HEADER =
endif
libsilcmath_a_SOURCES = \
mp_mpi.h \
silcmath.h \
silcmp.h \
- $(MP_HEADERS)
+ $(MP_HEADER)
endif
EXTRA_DIST = *.h