X-Git-Url: https://code.citadel.org/?p=citadel.git;a=blobdiff_plain;f=citadel%2Fmodules%2Fcrypto%2Fserv_crypto.c;h=5fa965e5d25d7f0048acccf5db4e5de3e8664689;hp=6afeee84bc7c0b7a643ea51fce35093bff23932a;hb=e26a8dee20d1726b4995821f717f867f50fc5659;hpb=e1241b61d2f8d7935670c36ab5fb4e10262514a6 diff --git a/citadel/modules/crypto/serv_crypto.c b/citadel/modules/crypto/serv_crypto.c index 6afeee84b..5fa965e5d 100644 --- a/citadel/modules/crypto/serv_crypto.c +++ b/citadel/modules/crypto/serv_crypto.c @@ -79,7 +79,7 @@ void destruct_ssl(void) void init_ssl(void) { - SSL_METHOD *ssl_method; + const SSL_METHOD *ssl_method; DH *dh; RSA *rsa=NULL; X509_REQ *req = NULL; @@ -471,11 +471,10 @@ int client_readline_sslbuffer(StrBuf *Line, StrBuf *IOBuf, const char **Pos, int CitContext *CCC = CC; const char *pos = NULL; const char *pLF; - int len, rlen, retlen; + int len, rlen; int nSuccessLess = 0; const char *pch = NULL; - retlen = 0; if ((Line == NULL) || (Pos == NULL) || (IOBuf == NULL))