Mac app store — trying to get encryption to work . . . what am I missing?

你。 提交于 2019-12-13 16:47:09

问题


I am trying to use Alan Quartermain's solution as linked from this question, Mac App Store Receipt Validation Code? I keep running into a bunch of unknown symbol errors at link time. Here are some of the unknown symbols: _BIO_new, _BIO_ctrl_, _EVP_sha1, _X509_STORE_free. Can anyone clue me in to what I need to do to get rid of these errors?

Things I have done:

  • Install OS X 10.6.7 combo update
  • Install Xcode 3.2.5
  • Install Xcode Developer Tools 1.1
  • Link frameworks:
    • Security;
    • SecurityFoundation;
    • SecurityInterface;
    • IOKit;
    • CoreServices.

Thanks.


回答1:


All the symbols you’ve listed are exported by libcrypto, which is part of OpenSSL. Have you tried linking libcrypto as well? You can do that by editing your project settings, Build tab, Other Linker Flags, and specifying -lcrypto.



来源:https://stackoverflow.com/questions/4893333/mac-app-store-trying-to-get-encryption-to-work-what-am-i-missing

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