#include "AppleCSPUtils.h"
#include "opensshCoding.h"
#include <Security/osKeyTemplates.h>
-#include <openssl/err.h>
-#include <openssl/bn.h>
-#include <openssl/crypto.h>
+#include <openssl/opensslerr.h>
+#include <openssl/bn_legacy.h>
+#include <openssl/crypto_legacy.h>
#include <security_asn1/SecNssCoder.h>
#include <security_asn1/secerr.h>
#include <Security/oidsalg.h>
#include <Security/SecAsn1Templates.h>
-#include <assert.h>
+#include <security_utilities/simulatecrash_assert.h>
#define sslAsn1Debug(args...) secinfo("sslAsn1", ##args)