Browse Source

Don't return NULL as bool

miguelfreitas
Dmitry Marakasov 10 years ago
parent
commit
a403124c9e
  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