fixed qualification warnings
authorFelix Morgner <felix.morgner@gmail.com>
Wed, 11 Feb 2015 10:00:52 +0000 (11:00 +0100)
committerFelix Morgner <felix.morgner@gmail.com>
Wed, 11 Feb 2015 10:00:52 +0000 (11:00 +0100)
src/ssli_openssl.c

index 35814aa507fbb51f31cc3900e62735efc79a9fc2..0542bff3441934fc710566cc16b2d5a13ca40ffd 100644 (file)
@@ -235,7 +235,7 @@ static void SSL_initializeCert() {
 
 void SSLi_init(void)
 {
-       const SSL_METHOD *method;
+       SSL_METHOD *method;
        SSL *ssl;
        int i, offset = 0, cipherstringlen = 0;
        STACK_OF(SSL_CIPHER) *cipherlist = NULL, *cipherlist_new = NULL;
@@ -254,7 +254,7 @@ void SSLi_init(void)
                abort();
        }
 
-       char* sslCAPath = getStrConf(CAPATH);
+       char const * sslCAPath = getStrConf(CAPATH);
        if(sslCAPath != NULL)
        {
                SSL_CTX_load_verify_locations(context, NULL, sslCAPath);