From: svost Date: Fri, 6 May 2016 13:00:48 +0000 (+0300) Subject: Error var declared in CKey::DecryptData as non-null char array X-Git-Url: https://git.novaco.in/?p=novacoin.git;a=commitdiff_plain;h=5d6008cda434141432c36acd4bb0e5f92c690eaf Error var declared in CKey::DecryptData as non-null char array --- diff --git a/src/ecies.cpp b/src/ecies.cpp index 93a8900..502bc96 100644 --- a/src/ecies.cpp +++ b/src/ecies.cpp @@ -523,7 +523,7 @@ unsigned char * ecies_decrypt(const ies_ctx_t *ctx, const cryptogram_t *cryptogr { unsigned char *envelope_key = NULL, *output = NULL; - if (!ctx || !cryptogram || !length || !error) { + if (!ctx || !cryptogram || !length) { SET_ERROR("Invalid argument"); goto err; }