err/err.c: add err_clear_last_constant_time.
authorAndy Polyakov <appro@openssl.org>
Sat, 1 Sep 2018 10:19:30 +0000 (12:19 +0200)
committerMatt Caswell <matt@openssl.org>
Fri, 30 Nov 2018 12:32:25 +0000 (12:32 +0000)
commitf658a3b64d8750642f4975090740865f770c2a1b
tree33f0390f4a4a9ef74746e115663cc4a6bdb10e5a
parentf1d49ed94707f5f0799541aa8e528dce67712948
err/err.c: add err_clear_last_constant_time.

Expected usage pattern is to unconditionally set error and then
wipe it if there was no actual error.

Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
crypto/err/err.c
include/internal/constant_time_locl.h