Silent a compiler warning.

This commit is contained in:
Giuseppe Scrivano 2011-08-26 12:37:17 +02:00
parent baed30f057
commit 547bcb0d3f
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2011-08-26 Giuseppe Scrivano <gscrivano@gnu.org>
* openssl.c (ssl_init): Make `meth' const.
2011-08-25 Giuseppe Scrivano <gscrivano@gnu.org>
* utils.c [HAVE_UTIME && HAVE_UTIME_H]: Include <utime.h>.

View File

@ -161,7 +161,7 @@ key_type_to_ssl_type (enum keyfile_type type)
bool
ssl_init ()
{
SSL_METHOD *meth;
SSL_METHOD const *meth;
if (ssl_ctx)
/* The SSL has already been initialized. */