1
0
mirror of https://github.com/wolfSSL/wolfssl.git synced 2026-10-24 04:09:07 +03:00

Merge pull request #11793 from aidangarske/remove/game-build

Remove game build support
This commit is contained in:
David Garske
2026-10-23 14:33:14 -07:00
committed by GitHub
4 changed files with 14 additions and 20 deletions

View File

@@ -1000,6 +1000,7 @@ WOLFSSL_FRDM_K64_JENKINS
WOLFSSL_FRODOKEM_NO_ASN1
WOLFSSL_FUNC_TIME
WOLFSSL_FUNC_TIME_LOG
WOLFSSL_GAME_BUILD
WOLFSSL_GEN_CERT
WOLFSSL_GETRANDOM
WOLFSSL_GNRC

View File

@@ -3445,7 +3445,7 @@ WOLFSSL_LOCAL int wc_SlhDsaParamToOid(enum SlhDsaParam param);
#ifndef PKCS_MAX_KEY_SIZE
#define PKCS_MAX_KEY_SIZE 64 /* MAX PKCS Key length */
#endif
#if !defined(WOLFSSL_GAME_BUILD) && !defined(MAX_KEY_SIZE)
#ifndef MAX_KEY_SIZE
/* for backwards compatibility */
#define MAX_KEY_SIZE PKCS_MAX_KEY_SIZE
#endif

View File

@@ -111,9 +111,6 @@
/* Uncomment next line if using lwip */
/* #define WOLFSSL_LWIP */
/* Uncomment next line if building wolfSSL for a game console */
/* #define WOLFSSL_GAME_BUILD */
/* Uncomment next line if building wolfSSL for LSR */
/* #define WOLFSSL_LSR */
@@ -2026,7 +2023,7 @@
#endif /* EBSNET */
#ifdef WOLFSSL_GAME_BUILD
#define SIZEOF_LONG_LONG 8
#error "WOLFSSL_GAME_BUILD support has been removed"
#endif
#ifdef WOLFSSL_LSR

View File

@@ -237,22 +237,18 @@
#if defined(WOLFSSL_PTHREADS)
#include <pthread.h>
#endif
#ifdef WOLFSSL_GAME_BUILD
#include "system/xtl.h"
#else
#ifndef WIN32_LEAN_AND_MEAN
#define WIN32_LEAN_AND_MEAN
#endif
#if !defined(WOLFSSL_SGX) && !defined(WOLFSSL_NOT_WINDOWS_API)
#define _WINSOCKAPI_ /* block inclusion of winsock.h header file. */
#include <windows.h>
#undef _WINSOCKAPI_ /* undefine it for MINGW winsock2.h header */
#ifndef WOLFSSL_USER_IO
#include <winsock2.h>
#include <ws2tcpip.h> /* required for InetPton */
#endif
#endif /* WOLFSSL_SGX */
#ifndef WIN32_LEAN_AND_MEAN
#define WIN32_LEAN_AND_MEAN
#endif
#if !defined(WOLFSSL_SGX) && !defined(WOLFSSL_NOT_WINDOWS_API)
#define _WINSOCKAPI_ /* block inclusion of winsock.h header file. */
#include <windows.h>
#undef _WINSOCKAPI_ /* undefine it for MINGW winsock2.h header */
#ifndef WOLFSSL_USER_IO
#include <winsock2.h>
#include <ws2tcpip.h> /* required for InetPton */
#endif
#endif /* WOLFSSL_SGX */
#if !defined(SINGLE_THREADED) && !defined(_WIN32_WCE)
#include <process.h>
#endif