summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/modules/rijndael/libkvirijndael.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/rijndael/libkvirijndael.cpp b/src/modules/rijndael/libkvirijndael.cpp
index b39edcb7..80391624 100644
--- a/src/modules/rijndael/libkvirijndael.cpp
+++ b/src/modules/rijndael/libkvirijndael.cpp
@@ -277,7 +277,7 @@
setLastError(__tr("The message is not a hexadecimal string: this is not my stuff"));
return false;
} else {
- if(len > 0)
+ if(*len > 0)
{
*outBuffer = (char *)kvi_malloc(*len);
kvi_memmove(*outBuffer,tmpBuf,*len);
@@ -303,7 +303,7 @@
setLastError(__tr("The message is not a base64 string: this is not my stuff"));
return false;
} else {
- if(len > 0)
+ if(*len > 0)
{
*outBuffer = (char *)kvi_malloc(*len);
kvi_memmove(*outBuffer,tmpBuf,*len);