git://git.novaco.in
/
novacoin.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Error var declared in CKey::DecryptData as non-null char array
[novacoin.git]
/
src
/
ecies.cpp
diff --git
a/src/ecies.cpp
b/src/ecies.cpp
index
93a8900
..
502bc96
100644
(file)
--- 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;
}