diff --git a/lib/hx509/crypto.c b/lib/hx509/crypto.c index 71c37b086..be61b4622 100644 --- a/lib/hx509/crypto.c +++ b/lib/hx509/crypto.c @@ -286,15 +286,6 @@ ecdsa_verify_signature(hx509_context context, der_free_octet_string(&digest); EC_KEY_free(key); if (ret != 1) { -#ifdef HAVE_OPENSSL - unsigned long l; - - ERR_load_ERR_strings(); - ERR_load_crypto_strings(); - - while ((l=ERR_get_error())) - fprintf(stderr,"ERROR:%s\n", ERR_error_string(l,NULL)); -#endif ret = HX509_CRYPTO_SIG_INVALID_FORMAT; return ret; }