Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

constant_time.h: add #ifdef __cplusplus guard #9127

Open
wants to merge 1 commit into
base: development
Choose a base branch
from

Commits on May 12, 2024

  1. constant_time.h: add #ifdef __cplusplus guard

    All other headers have a __cplusplus guard, except for constant_time.h**. This allows it to be conveniently included in C++ code.
    
    ** as verified using grep -L "#ifdef __cplusplus" mbedtls/*.h psa/*.h, excepting "config_" headers.
    
    Signed-off-by: Nikita Bloshchanevich <nikblos@outlook.com>
    nbfalcon committed May 12, 2024
    Configuration menu
    Copy the full SHA
    c756234 View commit details
    Browse the repository at this point in the history