osx - Using the OpenSSL libraries built from source in an OS X app -


my os x app uses openssl libraries, both libssl , libcrypto libraries. specific version of openssl libraries has been using 1 provided in os x, namely /usr/lib/libssl.dylib , /usr/lib/libcrypto.dylib , @ version openssl 0.9.8zg, , app has been working fine.

since want use tls 1.2 in app, , openssl libraries provided in os x, @ version openssl 0.9.8zg, not support it, want use openssl libraries @ version openssl 1.0.2d, available in source @ openssl site, in app.

toward goal of upgrading openssl libraries in app version openssl 1.0.2d, built openssl libraries source , compiled app them successfully. however, resulting app didn't function properly, , don't know why. running resulting app, ssl_connect() returned error, , subsequent call ssl_get_error() returned ssl_error_ssl. case libraries being dynamic libraries or static libraries. more strangely, got same result when used openssl 0.9.8zg libraries built source in building app.

anyone have solution or explanation problem facing?

it turned out there no problem in openssl libraries built. problem encountered caused cert. reason, problem occurred when new version of openssl used. replacing cert removed problem.


Comments

Popular posts from this blog

c# - Binding a comma separated list to a List<int> in asp.net web api -

Delphi 7 and decode UTF-8 base64 -

html - Is there any way to exclude a single element from the style? (Bootstrap) -