diff options
author | inoguchi <> | 2020-02-16 14:33:04 +0000 |
---|---|---|
committer | inoguchi <> | 2020-02-16 14:33:04 +0000 |
commit | 30dd34166845e9c6dd25a36682400e4e3a485065 (patch) | |
tree | f023f730f4ae140e3bfd6e4295d7d6357d17fbf5 /src/lib/libcrypto/stack/safestack.h | |
parent | af8b6a7a355de43dfc3177a4ddfd590dd1014b12 (diff) | |
download | openbsd-30dd34166845e9c6dd25a36682400e4e3a485065.tar.gz openbsd-30dd34166845e9c6dd25a36682400e4e3a485065.tar.bz2 openbsd-30dd34166845e9c6dd25a36682400e4e3a485065.zip |
Avoid leak for tmp.x25519
Changed to use local variable to hold malloc address rather than directly
set to S3I(s)->tmp.x25519, and set that private_key pointer to
S3I(s)->tmp.x25519 after all the "goto err;".
Also added freezero for S3I(s)->tmp.x25519 to ssl3_free() and ssl3_clear().
ok jsing@ tb@
Diffstat (limited to 'src/lib/libcrypto/stack/safestack.h')
0 files changed, 0 insertions, 0 deletions