Skip to content

Commit c74164c

Browse files
committed
android: enable ssl
Mbed-TLS/mbedtls@0c4bbda
1 parent dcf4286 commit c74164c

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

deps/mbedtls/padlock.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,10 +58,10 @@ int mbedtls_padlock_has_support( int feature )
5858
"cpuid \n\t"
5959
"cmpl $0xC0000001, %%eax \n\t"
6060
"movl $0, %%edx \n\t"
61-
"jb unsupported \n\t"
61+
"jb 1f \n\t"
6262
"movl $0xC0000001, %%eax \n\t"
6363
"cpuid \n\t"
64-
"unsupported: \n\t"
64+
"1: \n\t"
6565
"movl %%edx, %1 \n\t"
6666
"movl %2, %%ebx \n\t"
6767
: "=m" (ebx), "=m" (edx)

pkg/android/phoenix-common/jni/Android.mk

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,8 @@ DEFINES += -DRARCH_MOBILE \
137137
-DHAVE_TRANSLATE \
138138
-DWANT_IFADDRS \
139139
-DHAVE_XDELTA \
140-
-DHAVE_CORE_INFO_CACHE
140+
-DHAVE_CORE_INFO_CACHE \
141+
-DHAVE_BUILTINMBEDTLS -DHAVE_SSL
141142

142143
ifeq ($(HAVE_GFX_WIDGETS),1)
143144
DEFINES += -DHAVE_GFX_WIDGETS

0 commit comments

Comments
 (0)