mirror of
https://github.com/SirHumza/orbisRPC.git
synced 2026-10-28 02:03:29 +01:00
- BearSSL replaced with mbedTLS (TLSv1.3 passes Cloudflare) - 8MB frame cap + truncation-proof gateway op/seq scanner - Thread-safe compat, locked logging, atomic config with template - Daemon keeps last-good config, persistent presence timer - 256B token buffers, weak-libc shims, portable build preflights - Tests: gateway spoof + OOM cases pass Still open: display names fall back to titleId in sandbox, cover art needs shared Discord app assets. Backend fully functional.
33 lines
646 B
C
33 lines
646 B
C
/*
|
|
* Version information
|
|
*
|
|
* Copyright The Mbed TLS Contributors
|
|
* SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
|
|
*/
|
|
|
|
#include "common.h"
|
|
|
|
#if defined(MBEDTLS_VERSION_C)
|
|
|
|
#include "mbedtls/version.h"
|
|
#include <string.h>
|
|
|
|
unsigned int mbedtls_version_get_number(void)
|
|
{
|
|
return MBEDTLS_VERSION_NUMBER;
|
|
}
|
|
|
|
void mbedtls_version_get_string(char *string)
|
|
{
|
|
memcpy(string, MBEDTLS_VERSION_STRING,
|
|
sizeof(MBEDTLS_VERSION_STRING));
|
|
}
|
|
|
|
void mbedtls_version_get_string_full(char *string)
|
|
{
|
|
memcpy(string, MBEDTLS_VERSION_STRING_FULL,
|
|
sizeof(MBEDTLS_VERSION_STRING_FULL));
|
|
}
|
|
|
|
#endif /* MBEDTLS_VERSION_C */
|