forked from wolfSSL/wolfssl
@@ -40,7 +40,9 @@
|
|||||||
#include <pthread.h>
|
#include <pthread.h>
|
||||||
#endif
|
#endif
|
||||||
#if defined(HAVE_PTHREAD) || \
|
#if defined(HAVE_PTHREAD) || \
|
||||||
(!defined(NO_STDIO_FILESYSTEM) && !defined(NO_ERROR_STRINGS))
|
(!defined(NO_CRYPT_BENCHMARK) && !defined(NO_STDIO_FILESYSTEM) && \
|
||||||
|
!defined(NO_ERROR_STRINGS) && !defined(NO_MAIN_DRIVER) && \
|
||||||
|
!defined(BENCH_EMBEDDED))
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#endif
|
#endif
|
||||||
@@ -320,7 +322,8 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#undef LIBCALL_CHECK_RET
|
#undef LIBCALL_CHECK_RET
|
||||||
#if defined(NO_STDIO_FILESYSTEM) || defined(NO_ERROR_STRINGS)
|
#if defined(NO_STDIO_FILESYSTEM) || defined(NO_ERROR_STRINGS) || \
|
||||||
|
defined(NO_MAIN_DRIVER) || defined(BENCH_EMBEDDED)
|
||||||
#define LIBCALL_CHECK_RET(...) __VA_ARGS__
|
#define LIBCALL_CHECK_RET(...) __VA_ARGS__
|
||||||
#else
|
#else
|
||||||
#define LIBCALL_CHECK_RET(...) do { \
|
#define LIBCALL_CHECK_RET(...) do { \
|
||||||
|
@@ -7121,7 +7121,7 @@ int sp_div(sp_int* a, sp_int* d, sp_int* r, sp_int* rem)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!done) {
|
if ((!done) && (err == MP_OKAY)) {
|
||||||
#if (defined(WOLFSSL_SMALL_STACK) || defined(SP_ALLOC)) && \
|
#if (defined(WOLFSSL_SMALL_STACK) || defined(SP_ALLOC)) && \
|
||||||
!defined(WOLFSSL_SP_NO_MALLOC)
|
!defined(WOLFSSL_SP_NO_MALLOC)
|
||||||
int cnt = 4;
|
int cnt = 4;
|
||||||
|
Reference in New Issue
Block a user