git://git.novaco.in
/
novacoin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
0aa2682
)
Error var declared in CKey::DecryptData as non-null char array
author
svost
<ya.nowa@yandex.ru>
Fri, 6 May 2016 13:00:48 +0000 (16:00 +0300)
committer
svost
<ya.nowa@yandex.ru>
Fri, 6 May 2016 13:00:48 +0000 (16:00 +0300)
src/ecies.cpp
patch
|
blob
|
history
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;
}