Eric Warmenhoven
e8da8f8d29
minor mbedtls update
...
This brings it in line with 2.6.0. Previously it had been taken from a
development branch somewhere between 2.5.1 and 2.6.0.
Only return VERIFY_FAILED from a single point
Everything else is a fatal error. Also improve documentation about that for
the vrfy callback.
Improve comments
Update doc of return value of verify()
Fix potential integer overflow parsing DER CRL
This patch prevents a potential signed integer overflow during the
CRL version verification checks.
Fix potential integer overflow parsing DER CRT
This patch prevents a potential signed integer overflow during the
certificate version verification checks.
Prevent signed integer overflow in CSR parsing
Modify the function mbedtls_x509_csr_parse_der() so that it checks the
parsed CSR version integer before it increments the value. This prevents
a potential signed integer overflow, as these have undefined behaviour
in the C standard.
Rename time and index parameter to avoid name conflict.
As noted in #557 , several functions use 'index' resp. 'time'
as parameter names in their declaration and/or definition, causing name
conflicts with the functions in the C standard library of the same
name some compilers warn about.
This commit renames the arguments accordingly.
Update version number to 2.6.0
2025-06-09 22:20:05 -04:00
Eric Warmenhoven
c74164c6d0
android: enable ssl
...
0c4bbda16a
2025-06-05 22:53:33 -04:00
pstef
1f26793fde
3DS: enable mbedTLS
2025-04-06 18:48:10 +00:00
zoltanvb
66eead3afa
Move cacert.h out of deps/, since it does not belong there. ( #17122 )
2024-10-26 06:44:45 -07:00
libretroadmin
099a98bcd6
Some platforms need this, so can't remove it
2024-05-23 08:00:06 +02:00
libretroadmin
cf04a2c0fe
Cleanups - remove/silence warnings
2024-05-23 07:48:08 +02:00
libretroadmin
53553e89ed
Buildfix
2024-04-06 20:18:45 +02:00
libretroadmin
a4212061d4
Cleanup some unused variables
2024-04-06 20:12:15 +02:00
Eric Warmenhoven
dc2ae86437
Fix #16023 - ssl fails on mac x86 with newer clang ( #16032 )
...
Fix comes from https://github.com/Mbed-TLS/mbedtls/pull/4947
2023-12-23 01:22:05 -08:00
twinaphex
0eb4444ad1
(mbedtls) Silence warnings
2022-03-31 15:28:49 +02:00
Salvo Cristaldi
5bff99b3bf
Add some PSL1GHT ifdefs
2021-03-05 10:49:02 +01:00
twinaphex
870707dbe8
Remove obsolete __CELLOS_LV2__ references - use PSL1GHT instead
2020-12-19 15:32:26 +01:00
twinaphex
473f43daf7
(deps/mbedtls) Cleanups
2020-07-01 17:02:45 +02:00
twinaphex
af5eacf9d0
(Mbedtls) Assume HAVE_TIME
2020-07-01 05:27:36 +02:00
twinaphex
f1a8c07dfe
(deps/mbedtls) Cleanups
2020-07-01 04:50:31 +02:00
twinaphex
539beed10a
(deps/mbedtls) Remove error.c
2020-07-01 04:40:23 +02:00
twinaphex
5d9deb58c2
(mbedtls) Get rid of deprecated functions
2020-07-01 04:33:16 +02:00
twinaphex
35577ae15b
(mbedtls) Get rid of exit function pointer
2020-07-01 04:26:49 +02:00
twinaphex
a9d29758b6
(mbedtls) Some C89_BUILD fixes - doesn't compile yet
2020-07-01 04:19:45 +02:00
twinaphex
ae7353993a
(mbedtls) should now be CXX_BUILD compatible
2020-07-01 04:12:47 +02:00
twinaphex
3580db3ebe
(deps/mbedtls) Cleanups
2020-07-01 03:48:13 +02:00
twinaphex
996840d2d4
Cleanups
2020-07-01 03:30:22 +02:00
twinaphex
e5dc2b5bcb
(mbedtls) Cleanups
2020-07-01 03:23:46 +02:00
twinaphex
c664463242
(mbedtls) Remove MBEDTLS_CMAC_C
2020-07-01 01:43:50 +02:00
twinaphex
fe9d92b208
(mbedtls) Cleanups
2020-07-01 01:41:48 +02:00
twinaphex
d6ec4029db
(mbedtls) Remove MBEDTLS_DEBUG_C
2020-07-01 01:29:27 +02:00
twinaphex
308e16f63e
Cleanups
2020-07-01 01:21:20 +02:00
twinaphex
34b0ad0bbf
(mbedtls) Cleanups
2020-07-01 01:11:36 +02:00
twinaphex
8fe5ad8fd4
(mbedtls) Get rid of MBEDTLS_SELF_TEST
2020-07-01 01:04:35 +02:00
twinaphex
be289a4292
(mbedtls) Cleanups
2020-07-01 00:33:16 +02:00
twinaphex
968922e151
Fix static code analysis warnings
2020-06-29 21:24:32 +02:00
twinaphex
ad5773a031
Propagate 'label' as path for CDROM info detail list
2019-07-15 02:41:58 +02:00
twinaphex
df55abc65b
Turn these two off for modets size improvements
2019-07-14 19:06:57 +02:00
twinaphex
175af12a53
(mbedtls) undefine MBEDTLS_SELF_TEST
2019-07-14 19:03:13 +02:00
twinaphex
15277f9dbc
(mbedtls) Try to make more code C89-compliant
2019-05-28 15:58:07 +02:00
Brad Parker
477d46d52b
update copyright
2019-02-22 19:13:36 -05:00
twinaphex
7ad34509e7
Silence more CXX_BUILD warnings
2019-01-12 21:16:48 +01:00
twinaphex
f336fa0337
CXX_BUILD fixes
2018-10-10 16:38:13 +02:00
Benjamin FRANCOIS
c723f13753
This allows building on Haiku after disabling Discord
2018-09-01 07:25:06 +00:00
Twinaphex
4e0c2314d9
Define HAVE_SSL for OSX
2018-09-01 04:22:57 +02:00
twinaphex
2fb8831dcc
Uniquely name functions
2018-09-01 04:18:01 +02:00
twinaphex
31df00d52a
Uniquely name functions
2018-09-01 04:14:36 +02:00
twinaphex
fb047e4622
Uniquely name functions
2018-09-01 04:12:58 +02:00
twinaphex
18203f4d30
Cleanups
2018-09-01 04:11:16 +02:00
twinaphex
6d29cde453
(SSL) Name functions uniquely
2018-09-01 04:09:59 +02:00
twinaphex
e83504002d
(SSL) Make these functions unique
2018-09-01 04:08:27 +02:00
twinaphex
c59b054ef2
Comment this out
2018-08-08 05:01:22 +02:00
twinaphex
f14ae31e93
Uncomment this too
2018-08-08 04:54:11 +02:00
twinaphex
e6e35805a6
Enable this
2018-08-08 04:50:16 +02:00
twinaphex
0fb7d6a9e4
(SSL) Re-enable drbg
2018-08-07 04:57:33 +02:00