#ifdef HAVE_LIBGNUTLS
#ifdef _WIN32
#include <winposixtype.h>
-#endif
+#endif /* _WIN32 */
#include <stdio.h>
#include <gcrypt.h>
/* #define SSL_FAST 1 */
#define SSL_DECRYPT_DEBUG
-#define SSL_DEBUG_USE_STDERR "-"
#define SSL_CIPHER_CTX gcry_cipher_hd_t
#ifdef SSL_FAST
#define SSL_PRIVATE_KEY gcry_mpi_t
-#else
+#else /* SSL_FAST */
#define SSL_PRIVATE_KEY struct gcry_sexp
-#endif
-#else
+#endif /* SSL_FAST */
+#else /* HAVE_LIBGNUTLS */
#define SSL_CIPHER_CTX void*
#define SSL_PRIVATE_KEY void
-#endif
+#endif /* HAVE_LIBGNUTLS */
typedef struct _StringInfo {
unsigned char* data;
#define SSL_CIPHER_MODE_STREAM 0
#define SSL_CIPHER_MODE_CBC 1
+#define SSL_DEBUG_USE_STDERR "-"
+
typedef struct _SslCipherSuite {
int number;
int kex;
(const char **)&ssl_ports_list);
prefs_register_string_preference(ssl_module, "debug_file", "SSL debug file",
"redirect ssl debug to file name; leave empty to disable debug, "
- "use \""SSL_DEBUG_USE_STDERR"\" to redirect output to stderr\n",
+ "use \"" SSL_DEBUG_USE_STDERR "\" to redirect output to stderr\n",
(const char **)&ssl_debug_file_name);
}