Fixed compiler warnings

SVN revision: 2335
This commit is contained in:
Stefan Ritt 2010-11-16 09:13:31 +00:00
parent e418c6ae7c
commit 90d33565ad
2 changed files with 2 additions and 2 deletions

View File

@ -342,7 +342,7 @@ int elog_connect(char *host, int port)
#ifdef HAVE_SSL #ifdef HAVE_SSL
int ssl_connect(int sock, SSL ** ssl_con) int ssl_connect(int sock, SSL ** ssl_con)
{ {
SSL_METHOD *meth; const SSL_METHOD *meth;
SSL_CTX *ctx; SSL_CTX *ctx;
SSL_library_init(); SSL_library_init();

View File

@ -27990,7 +27990,7 @@ void hup_handler(int sig)
SSL_CTX *init_ssl(void) SSL_CTX *init_ssl(void)
{ {
char str[256], pwd[256]; char str[256], pwd[256];
SSL_METHOD *meth; const SSL_METHOD *meth;
SSL_CTX *ctx; SSL_CTX *ctx;
SSL_library_init(); SSL_library_init();