Browse Source

Merge pull request #320 from AMDmi3/warning-fix

Don't return NULL as bool, fixes warning
miguelfreitas
miguelfreitas 10 years ago
parent
commit
7afa7dbf05
  1. 2
      src/key.cpp

2
src/key.cpp

@ -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.

Loading…
Cancel
Save