Skip to content

Commit

Permalink
Merge pull request #26 from dumganhar/fix/disable-async-for-ios
Browse files Browse the repository at this point in the history
Disable async in openssl for ios since apple forbit developers to use the API (setcontext, getcontext, makecontext).
  • Loading branch information
pandamicro authored May 24, 2017
2 parents 29794b4 + 14994c2 commit 7fa906b
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ios/include/openssl/opensslconf-arm32.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ extern "C" {
#ifndef OPENSSL_NO_ASAN
# define OPENSSL_NO_ASAN
#endif
#ifndef OPENSSL_NO_ASM
# define OPENSSL_NO_ASM
#ifndef OPENSSL_NO_ASYNC
# define OPENSSL_NO_ASYNC
#endif
#ifndef OPENSSL_NO_CRYPTO_MDEBUG
# define OPENSSL_NO_CRYPTO_MDEBUG
Expand Down Expand Up @@ -147,7 +147,7 @@ extern "C" {
# define DEPRECATEDIN_0_9_8(f)
#endif


#define OPENSSL_CPUID_OBJ

/* Generate 80386 code? */
#undef I386_ONLY
Expand Down
3 changes: 3 additions & 0 deletions ios/include/openssl/opensslconf-arm64.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ extern "C" {
#ifndef OPENSSL_NO_ASAN
# define OPENSSL_NO_ASAN
#endif
#ifndef OPENSSL_NO_ASYNC
# define OPENSSL_NO_ASYNC
#endif
#ifndef OPENSSL_NO_CRYPTO_MDEBUG
# define OPENSSL_NO_CRYPTO_MDEBUG
#endif
Expand Down
3 changes: 3 additions & 0 deletions ios/include/openssl/opensslconf-i386.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ extern "C" {
#ifndef OPENSSL_NO_ASAN
# define OPENSSL_NO_ASAN
#endif
#ifndef OPENSSL_NO_ASYNC
# define OPENSSL_NO_ASYNC
#endif
#ifndef OPENSSL_NO_CRYPTO_MDEBUG
# define OPENSSL_NO_CRYPTO_MDEBUG
#endif
Expand Down
3 changes: 3 additions & 0 deletions ios/include/openssl/opensslconf-x86_64.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ extern "C" {
#ifndef OPENSSL_NO_ASAN
# define OPENSSL_NO_ASAN
#endif
#ifndef OPENSSL_NO_ASYNC
# define OPENSSL_NO_ASYNC
#endif
#ifndef OPENSSL_NO_CRYPTO_MDEBUG
# define OPENSSL_NO_CRYPTO_MDEBUG
#endif
Expand Down
Binary file modified ios/libs/libcrypto.a
Binary file not shown.
Binary file modified ios/libs/libssl.a
Binary file not shown.

0 comments on commit 7fa906b

Please sign in to comment.