1
0
mirror of https://github.com/ARMmbed/mbedtls.git synced 2025-07-03 04:53:10 +08:00
Manuel Pégourié-Gonnard 57d96cddf5 Move NULL check inside accessor function
This achieves two related goals:

1. Those members are now only accessed via the accessor function (except in
code paths that we don't care about: those guarded by
MBEDTLS_PK_RSA_ALT_SUPPORT or MBEDTLS_ECP_RESTARTABLE)
2. When we turn on compile-time dispatch, we don't obviously don't want to
keep a runtime NULL check.

For debug this requires changing the signature or the accessor function to
return int; this is done without changing the signature of the accessed
function.
2019-09-19 10:45:14 +02:00
..
2019-09-09 09:45:57 +01:00
2019-09-09 09:45:57 +01:00
2019-09-09 09:45:57 +01:00
2019-09-09 09:45:57 +01:00
2019-09-09 09:45:57 +01:00
2019-09-04 16:17:45 +01:00
2019-09-19 10:45:14 +02:00
2019-09-09 09:45:57 +01:00
2019-09-09 09:45:57 +01:00
2019-09-04 16:17:45 +01:00
2019-09-09 17:21:18 +03:00
2019-09-10 11:30:40 +03:00
2019-09-09 17:21:18 +03:00
2019-09-10 11:30:40 +03:00
2019-06-20 16:33:02 +01:00