diff options
Diffstat (limited to 'crypto/openssl/include/internal/constant_time_locl.h')
-rw-r--r-- | crypto/openssl/include/internal/constant_time_locl.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/crypto/openssl/include/internal/constant_time_locl.h b/crypto/openssl/include/internal/constant_time_locl.h index 82ff74652ecca..cde30f4067ef1 100644 --- a/crypto/openssl/include/internal/constant_time_locl.h +++ b/crypto/openssl/include/internal/constant_time_locl.h @@ -324,4 +324,10 @@ static ossl_inline void constant_time_lookup(void *out, } } +/* + * Expected usage pattern is to unconditionally set error and then + * wipe it if there was no actual error. |clear| is 1 or 0. + */ +void err_clear_last_constant_time(int clear); + #endif /* HEADER_CONSTANT_TIME_LOCL_H */ |