Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8454643
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T12:04:48+00:00 2026-06-10T12:04:48+00:00

Compiling one of my source files on Mac OS X10.7 and getting these deprecation

  • 0

Compiling one of my source files on Mac OS X10.7 and getting these deprecation warnings:

xxx_evp.c:135:5: 'EVP_MD_CTX_init' is deprecated
xxx_evp.c:137:9: 'EVP_DigestInit_ex' is deprecated
xxx_evp.c:177:9: 'EVP_DigestUpdate' is deprecated
xxx_evp.c:227:13: 'EVP_DigestFinal_ex' is deprecated
xxx_evp.c:235:5: 'EVP_MD_CTX_cleanup' is deprecated

I had another set of OpenSSL deprecation warnings where I was using MD5 functions from openssl/md5.h and was able to switch to a CommonCrypto version of the OpenSSL calls like this:

#if defined(__APPLE__)
#  define COMMON_DIGEST_FOR_OPENSSL
#  include <CommonCrypto/CommonDigest.h>
#else
#  include <openssl/md5.h>
#endif

But I can’t find anything offhand about any kind of OpenSSL compatibility related to these EVP_* calls. Is there something similar I can do to get “free” compatibility support on OS X 10.7 for these OpenSSL EVP_* calls?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T12:04:49+00:00Added an answer on June 10, 2026 at 12:04 pm

    I looked in the CommonCrypto headers files in /usr/include/CommonCrypto/ and the only one that notes any OpenSSL compatibility is CommonDigest.h. When the #define symbol COMMON_DIGEST_FOR_OPENSSL is defined before this header file is included your code, then the following classes of OpenSSL functions are mapped to their CommonCrypto equivalents:

    • MD2_xxx, MD4_xxx and MD5_xxx
    • SHA_xxx, SHA1_xxx, SHA224_xxx, SHA256_xxx, SHA384_xxx and SHA512_xxx

    There does not appear to be any such mapping of the OpenSSL EVP_xxx functions, at least provided as part of CommonCrypto.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am compiling several stylesheets into one min stylesheet in a staging environment The
I am currently creating an application for compiling multiple java projects in one go
I was wondering what the consequences are for compiling a class A with one
I have a grails project with some additional java source files under src/java folder.
I am transferring a project source from one pc to another. When I click
I observed SBT compiles all source files everytime when I issue the compile task,
I'm getting multiple definition link errors after conditionally compiling platform-specific code. My project is
A bit context. Let's say I have source files, which need to end up
Let's say we have 2 source files: main.c: #include <stdio.h> #define i 2 int
Our build person was having issues compiling some source code that is checked into

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.