Don't abort() on low-level crypto errors, just return false.

The abort() calls were accidentily left in for debugging.
This commit is contained in:
Guus Sliepen 2011-07-20 08:19:18 +02:00
parent 2f4ccfe247
commit ff751903aa
2 changed files with 6 additions and 6 deletions

View file

@ -38,7 +38,7 @@ bool ecdsa_set_base64_public_key(ecdsa_t *ecdsa, const char *p) {
if(!o2i_ECPublicKey(ecdsa, &ppubkey, len)) {
logger(LOG_DEBUG, "o2i_ECPublicKey failed: %s", ERR_error_string(ERR_get_error(), NULL));
abort();
return false;
}
return true;