b0rk d0rk aaak
[citadel.git] / citadel / modules / crypto / serv_crypto.h
index 40c5d4807cfcaf3902d50c90cd4d0e17f3b585f3..34c08db86f3bfda20a6609a7906ab3007e05bfd8 100644 (file)
@@ -1,4 +1,3 @@
-/* $Id$ */
 
 /*
  * Number of days for which self-signed certs are valid.
 #define CIT_CIPHERS    "ALL:RC4+RSA:+SSLv2:+TLSv1:!MD5:@STRENGTH"      /* see ciphers(1) */
 
 #ifdef HAVE_OPENSSL
+#define OPENSSL_NO_KRB5                /* work around redhat b0rken ssl headers */
 void destruct_ssl(void);
 void init_ssl(void);
 void client_write_ssl (const char *buf, int nbytes);
 int client_read_sslbuffer(StrBuf *buf, int timeout);
-int client_readline_sslbuffer(StrBuf *Target, StrBuf *Buffer, int timeout);
+int client_readline_sslbuffer(StrBuf *Target, StrBuf *Buffer, const char **Pos, int timeout);
 int client_read_sslblob(StrBuf *Target, long want_len, int timeout);
 void cmd_stls(char *params);
 void cmd_gtls(char *params);