Don't return NULL as bool

This commit is contained in:
Dmitry Marakasov 2015-03-07 07:01:38 +03:00
parent 66394b047f
commit a403124c9e

View File

@ -596,7 +596,7 @@ public:
#ifdef DEBUG_ECIES #ifdef DEBUG_ECIES
printf("The authentication code was invalid! The ciphered data has been corrupted!\n"); printf("The authentication code was invalid! The ciphered data has been corrupted!\n");
#endif #endif
return NULL; return false;
} }
// Create a buffer to hold the result. // Create a buffer to hold the result.