Why is Apple Deprecating OpenSSL in MacOS 10.7 (Lion)? [closed]

我与影子孤独终老i 提交于 2019-11-27 01:33:09

Apple is migrating from OpenSSL to Common Crypto (which Apple develops).

Some docs: http://developer.apple.com/library/mac/#documentation/Darwin/Reference/ManPages/man3/CC_crypto.3cc.html

Info on WHY Apple is doing this: http://adcdownload.apple.com/wwdc_2011/adc_on_itunes__wwdc11_sessions__pdf/212_nextgeneration_cryptographic_services.pdf

If the above link fails (it probably will), here are navigation instructions:

  • Logon to http://developer.apple.com
  • Scroll to bottom, click on 'Development Videos'
  • On the next page, click 'Learn more' under WWDC 2011
  • Scroll down about half-way (or search) until you see 'Next Generation Cryptographic Services', and click it
  • You have now reached the buried treasure, download the 'Presentation Slides'

Because OpenSSL doesn’t offer API compatibility between versions

This means that Apple can't provide security updates without breaking existing apps.

http://rentzsch.tumblr.com/post/33696323211/wherein-i-write-apples-technote-about-openssl-on-os-x

Tony Lee

The dylib openssl is deprecated because of binary compatibility issues across versions (eg: causes problems like Why does the OpenSSL test suite fail on MacOS X? ).

See joet3ch's answer for what Apple suggests to do about it.

However, you're free/encouraged to get openssl from openssl.org and link statically.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!