-/* Copyright (C) 2009, Martin Johansson <martin@fatbob.nu>
- Copyright (C) 2005-2009, Thorvald Natvig <thorvald@natvig.com>
+/* Copyright (C) 2009-2010, Martin Johansson <martin@fatbob.nu>
+ Copyright (C) 2005-2010, Thorvald Natvig <thorvald@natvig.com>
All rights reserved.
void SSL_init(void)
{
- SSL_METHOD *method;
+ const SSL_METHOD *method;
SSL *ssl;
int i, offset = 0;
STACK_OF(SSL_CIPHER) *cipherlist = NULL, *cipherlist_new = NULL;
sk_SSL_CIPHER_push(cipherlist_new, cipher);
}
}
- Log_info("List of ciphers:");
+ Log_debug("List of ciphers:");
if (cipherlist_new) {
for ( i = 0; (cipher = sk_SSL_CIPHER_value(cipherlist_new, i)) != NULL; i++) {
- Log_info("%s", SSL_CIPHER_get_name(cipher));
+ Log_debug("%s", SSL_CIPHER_get_name(cipher));
offset += snprintf(cipherstring + offset, 1024 - offset, "%s:", SSL_CIPHER_get_name(cipher));
}
cipherstring[offset - 1] = '\0';