Mac App Store的 - 试图让加密工作。 。 。我缺少什么? [英] Mac app store -- trying to get encryption to work . . . what am I missing?

查看:168
本文介绍了Mac App Store的 - 试图让加密工作。 。 。我缺少什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想用艾伦Quartermain的解决方案来自这个问题联系在一起, Mac App Store的收据验证code?我一直运行到在链接时一群不明符号错误。这里有一些未知的符号: _BIO_new _BIO_ctrl _ _EVP_sha1 _X509_STORE_free 。任何线索,我什么,我需要做的可以摆脱这些错误的?

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?

我所做的事情:


  • 安装OS X 10.6.7更新组合

  • 安装X code 3.2.5

  • 安装X code语言开发工具1.1

  • 链接框架:

    • 安全性;

    • SecurityFoundation;

    • SecurityInterface;

    • 由于IOKit;

    • CoreServices。

    感谢。

    推荐答案

    您已经列出了所有的符号被libcrypto出口,这是OpenSSL的一部分。您是否尝试连接libcrypto呢?为此,您可以通过编辑您的项目设置,生成标签,其它链接器标记,并指定 -lcrypto

    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.

    这篇关于Mac App Store的 - 试图让加密工作。 。 。我缺少什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆