summaryrefslogtreecommitdiff
path: root/src/lib/libssl/tls12_lib.c
diff options
context:
space:
mode:
authortb <>2021-05-02 15:33:33 +0000
committertb <>2021-05-02 15:33:33 +0000
commit63fb3940fa3e6cc8c92f3ed37d159fa4034bc320 (patch)
treed61dde604f2447b8e5efcd530167e07079cda8ec /src/lib/libssl/tls12_lib.c
parentc7eea020ca57d2b9d7d6234c3f3fafc98feefab6 (diff)
downloadopenbsd-63fb3940fa3e6cc8c92f3ed37d159fa4034bc320.tar.gz
openbsd-63fb3940fa3e6cc8c92f3ed37d159fa4034bc320.tar.bz2
openbsd-63fb3940fa3e6cc8c92f3ed37d159fa4034bc320.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/tls12_lib.c')
0 files changed, 0 insertions, 0 deletions