#include <security_utilities/logging.h>
#include <security_utilities/debugging.h>
#include <opensslUtils/opensslUtils.h>
-#include <openssl/bn.h>
-#include <openssl/dh.h>
-#include <openssl/err.h>
+#include <openssl/bn_legacy.h>
+#include <openssl/dh_legacy.h>
+#include <openssl/opensslerr.h>
#define dhMiscDebug(args...) secinfo("dhMisc", ## args)
// someone else's key (should never happen)
CssmError::throwMe(CSSMERR_CSP_INVALID_ALGORITHM);
}
- assert(hdr->BlobType == CSSM_KEYBLOB_RAW);
+ assert(hdr->BlobType == CSSM_KEYBLOB_RAW);
/* validate and figure out what we're dealing with */
switch(hdr->KeyClass) {
case CSSM_KEYCLASS_PUBLIC_KEY: