Fixed compiler warnings

SVN revision: 2336
This commit is contained in:
Stefan Ritt 2010-11-16 12:34:24 +00:00
parent 90d33565ad
commit f1f72329df
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)
{ {
const SSL_METHOD *meth; 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];
const SSL_METHOD *meth; SSL_METHOD *meth;
SSL_CTX *ctx; SSL_CTX *ctx;
SSL_library_init(); SSL_library_init();