[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[monit-dev] [monit] r217 committed - [No log message]
From: |
monit |
Subject: |
[monit-dev] [monit] r217 committed - [No log message] |
Date: |
Wed, 11 Aug 2010 07:46:14 +0000 |
Revision: 217
Author: martin2812
Date: Wed Aug 11 00:45:16 2010
Log: [No log message]
http://code.google.com/p/monit/source/detail?r=217
Modified:
/trunk/ssl.c
/trunk/ssl.h
=======================================
--- /trunk/ssl.c Fri Aug 6 07:32:39 2010
+++ /trunk/ssl.c Wed Aug 11 00:45:16 2010
@@ -328,7 +328,7 @@
* @return An ssl connection, or NULL if an error occured.
*/
ssl_server_connection *init_ssl_server(char *pemfile, char *clientpemfile)
{
- const SSL_METHOD *server_method = NULL;
+ SSL_METHOD *server_method = NULL;
ssl_server_connection *ssl_server;
ASSERT(pemfile);
@@ -728,7 +728,7 @@
goto sslerror;
}
- if(!(ssl->ctx= SSL_CTX_new (ssl->method))) {
+ if(!(ssl->ctx= SSL_CTX_new(ssl->method))) {
LogError("%s: Cannot initialize SSL server certificate handler
-- %s\n",
prog, SSLERROR);
goto sslerror;
=======================================
--- /trunk/ssl.h Fri Aug 6 07:32:39 2010
+++ /trunk/ssl.h Wed Aug 11 00:45:16 2010
@@ -66,7 +66,7 @@
SSL *handler;
SSL_CTX *ctx;
X509 *cert;
- const SSL_METHOD *method;
+ SSL_METHOD *method;
BIO *socket_bio;
const char *cipher;
char *cert_subject;
@@ -82,7 +82,7 @@
typedef struct my_ssl_server_connection {
int server_socket;
- const SSL_METHOD *method;
+ SSL_METHOD *method;
SSL_CTX *ctx;
char *pemfile;
char *clientpemfile;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [monit-dev] [monit] r217 committed - [No log message],
monit <=