From: Timo Sirainen Date: Mon, 30 May 2016 12:36:17 +0000 (+0300) Subject: lib-dcrypt: Compiler warning fixes X-Git-Tag: 2.3.0.rc1~3624 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8d5a200b82ee4f7fe7643c704f37fdf23f813923;p=thirdparty%2Fdovecot%2Fcore.git lib-dcrypt: Compiler warning fixes --- diff --git a/src/lib-dcrypt/dcrypt-openssl.c b/src/lib-dcrypt/dcrypt-openssl.c index d60c5a4da2..60cb0a9de3 100644 --- a/src/lib-dcrypt/dcrypt-openssl.c +++ b/src/lib-dcrypt/dcrypt-openssl.c @@ -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)