#include <openssl/asn1.h>
#include <openssl/asn1t.h>
+#include <openssl/crypto.h>
#include <openssl/err.h>
#include <openssl/evp.h>
-#include <openssl/mem.h>
#include <openssl/rsa.h>
#include <openssl/x509.h>
static BIO *g_error = NULL;
-#if defined(OPENSSL_IS_BORINGSSL)
-/* In BoringSSL, ERR_print_errors has been moved to the BIO functions in order
- * to avoid the incorrect dependency of ERR on BIO. */
-static void ERR_print_errors(BIO *bio) {
- BIO_print_errors(bio);
-}
-#endif
-
/**
* Rounds n up to the nearest multiple of page_size
* @param n The value to round