summaryrefslogtreecommitdiff
path: root/src/lib/libssl/ssl_srvr.c
diff options
context:
space:
mode:
authortb <>2021-05-02 15:33:33 +0000
committertb <>2021-05-02 15:33:33 +0000
commit6ab028bc39915d979c8830d8bac5e57a83cc1933 (patch)
treed61dde604f2447b8e5efcd530167e07079cda8ec /src/lib/libssl/ssl_srvr.c
parent0bac90bf9260abb7c553c80cd5ca2f5eaf383a4b (diff)
downloadopenbsd-6ab028bc39915d979c8830d8bac5e57a83cc1933.tar.gz
openbsd-6ab028bc39915d979c8830d8bac5e57a83cc1933.tar.bz2
openbsd-6ab028bc39915d979c8830d8bac5e57a83cc1933.zip
Make TS_compute_imprint a bit more robust.
Instead of using the output parameters directly, null them out at the beginning and work with local variables which are only assigned to the output parameters on success. This way we avoid leaking stale pointers back to the caller. requested/ok jsing
Diffstat (limited to 'src/lib/libssl/ssl_srvr.c')
0 files changed, 0 insertions, 0 deletions