changeset 20219:d0a8832389fe

lib-dcrypt: Compiler warning fixes
author Timo Sirainen <timo.sirainen@dovecot.fi>
date Mon, 30 May 2016 15:36:17 +0300
parents bb25b02501b8
children c543c8da9714
files src/lib-dcrypt/dcrypt-openssl.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/lib-dcrypt/dcrypt-openssl.c	Fri May 27 22:18:17 2016 +0300
+++ b/src/lib-dcrypt/dcrypt-openssl.c	Mon May 30 15:36:17 2016 +0300
@@ -1647,8 +1647,8 @@
 	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)