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

  • SEARCH
  • Home
  • 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 7069687
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T05:28:34+00:00 2026-05-28T05:28:34+00:00

I’m linking against a static library build from source, and including local headers, not

  • 0

I’m linking against a static library build from source, and including local headers, not the headers in /usr/include, but Xcode still lists may functions as depreciated, and it’s failing to find symbols. Has anyone gotten libssl working on Lion?

  • 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-05-28T05:28:35+00:00Added an answer on May 28, 2026 at 5:28 am

    Yep, SSL functions are deprecated on Lion.

    You should use stuff from CommonCrypto instead. Basically, it has replacements for all SSL functions, and they are usually compatible.

    For instance, if you use MD5 (openssl/md5.h), you’ll get those deprecated warnings.
    You can the include CommonDigest, and use CC_MD5_* functions, instead of the old MD5_* ones.

    You should also be able to produce a compatibility header, to support other systems.
    Something like:

    #if defined( __APPLE__ )
    
        #include <CommonCrypto/CommonDigest.h>
    
        #ifdef MD5_DIGEST_LENGTH
    
            #undef MD5_DIGEST_LENGTH
    
        #endif
    
        #define MD5_Init            CC_MD5_Init
        #define MD5_Update          CC_MD5_Update
        #define MD5_Final           CC_MD5_Final
        #define MD5_DIGEST_LENGTH   CC_MD5_DIGEST_LENGTH
        #define MD5_CTX             CC_MD5_CTX
    
    #else
    
        #include <openssl/md5.h>
    
    #endif
    

    This is only for MD5, but you should be able to do the some for most other functions.

    EDIT

    CommonCrypto only support symmetric encryption, through CCCryptor.

    If you need asymmetric encryption, you should use the Security framework.

    Be sure to take a look at the Security Transforms Programming Guide.

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

Sidebar

Related Questions

I need to clean up various Word 'smart' characters in user input, including but
link Im having trouble converting the html entites into html characters, (&# 8217;) i
I want to count how many characters a certain string has in PHP, but
For some reason, after submitting a string like this Jack’s Spindle from a text
Seemingly simple, but I cannot find anything relevant on the web. What is the
I have a French site that I want to parse, but am running into
I am currently running into a problem where an element is coming back from
I'm parsing an RSS feed that has an &#8217; in it. SimpleXML turns this
We're building an app, our first using Rails 3, and we're having to build
I have a text area in my form which accepts all possible characters from

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.