Re: RSA and libcrypto
Re: RSA and libcrypto
On 14 Jan 2014, at 09:42, Charles Srstka <email@hidden> wrote:
> On Jan 14, 2014, at 3:19 AM, email@hidden wrote:
>
>> The only problem with retaining it is the extra complexity involved in integrating the static library build into the project and upgrading the source.
>
> One trick that can help is that OpenSSL is in MacPorts, so you can just set up a symlink to the static library in /opt/local/lib, and then just run /opt/local/port selfupdate and /opt/local/port upgrade outdated every once in a while (or you can just set up a LaunchDaemon to run those commands periodically). This will keep your copy of OpenSSL and libcrypto up to date, at least.
>
Took a while to get around to confirming this but I did use the MacPorts approach - it was simply easier than building libcrypto from source within my project (https://github.com/sqlcipher/openssl-xcode).
It should be noted that lib crypto.a has a dependency on libz.a. -lz is therefore required in other linker flags.
Jonathan
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden