]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
lib-dcrypt: Compiler warning fixes
authorTimo Sirainen <timo.sirainen@dovecot.fi>
Mon, 30 May 2016 12:36:17 +0000 (15:36 +0300)
committerTimo Sirainen <timo.sirainen@dovecot.fi>
Mon, 30 May 2016 12:36:17 +0000 (15:36 +0300)
src/lib-dcrypt/dcrypt-openssl.c

index d60c5a4da238d09c3452c6164454c587977084bf..60cb0a9de36bab6d58f325250ac58a04018cd2bc 100644 (file)
@@ -1647,8 +1647,8 @@ bool dcrypt_openssl_key_string_get_info(const char *key_data, enum dcrypt_key_fo
        enum dcrypt_key_version version = DCRYPT_KEY_VERSION_NA;
        enum dcrypt_key_encryption_type encryption_type = DCRYPT_KEY_ENCRYPTION_TYPE_NONE;
        enum dcrypt_key_kind kind = DCRYPT_KEY_KIND_PUBLIC;
-       const char *encryption_key_hash = NULL;
-       const char *key_hash = NULL;
+       char *encryption_key_hash = NULL;
+       char *key_hash = NULL;
 
        if (key_data == NULL) {
                if (error_r != NULL)