File tree Expand file tree Collapse file tree
android/wolfssljni-ndk-gradle/app Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -62,12 +62,15 @@ if ("${WOLFSSL_PKG_TYPE}" MATCHES "normal")
6262
6363 # Defines added for debugging. These can be removed if debug logging is not needed
6464 # and will increase performance and reduce library footprint size if removed.
65- -DEBUG_WOLFSSL
65+ -DDEBUG_WOLFSSL -DWOLFSSL_ANDROID_DEBUG
6666
6767 # Defines added for wolfCrypt test and benchmark only, may not be needed for your
6868 # own application.
69- -DUSE_CERT_BUFFERS_2048 -DUSE_CERT_BUFFERS_256 -DNO_WRITE_TEMP_FILES
70- -DNO_FILESYSTEM -DNO_MAIN_DRIVER
69+ # Add -DNO_FILESYSTEM to disable file system use for wolfCrypt test, but make sure
70+ # to remove this define in production applications as filesystem access is required
71+ # for wolfJSSE use.
72+ -DUSE_CERT_BUFFERS_2048 -DUSE_CERT_BUFFERS_256
73+ -DNO_WRITE_TEMP_FILES -DNO_MAIN_DRIVER
7174 )
7275
7376elseif ("${WOLFSSL_PKG_TYPE} " MATCHES "fipsready" )
@@ -116,7 +119,10 @@ elseif("${WOLFSSL_PKG_TYPE}" MATCHES "fipsready")
116119
117120 # Below options are added only for wolfCrypt test and benchmark applications.
118121 # These can be left off / removed when integrating into a real-world application.
119- -DNO_FILESYSTEM -DUSE_CERT_BUFFERS_2048 -DUSE_CERT_BUFFERS_256
122+ # Add -DNO_FILESYSTEM to disable file system use for wolfCrypt test, but make sure
123+ # to remove this define in production applications as filesystem access is required
124+ # for wolfJSSE use.
125+ -DUSE_CERT_BUFFERS_2048 -DUSE_CERT_BUFFERS_256
120126 -DNO_WRITE_TEMP_FILES -DNO_MAIN_DRIVER
121127 )
122128endif ()
You can’t perform that action at this time.
0 commit comments