mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2026-03-25 13:41:56 +01:00
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.