diff options
author | tb <> | 2025-06-07 09:32:35 +0000 |
---|---|---|
committer | tb <> | 2025-06-07 09:32:35 +0000 |
commit | 852ff96f12cab66a43fa3f58d19246c7a21c875e (patch) | |
tree | ae8fd8c675d0fdad1149e33aeb0f8648d63eeeec /src/lib/libssl | |
parent | c7d111899342662acc283c79460c528fac240a59 (diff) | |
download | openbsd-852ff96f12cab66a43fa3f58d19246c7a21c875e.tar.gz openbsd-852ff96f12cab66a43fa3f58d19246c7a21c875e.tar.bz2 openbsd-852ff96f12cab66a43fa3f58d19246c7a21c875e.zip |
do_PVK_body: Unconditionally free enctmp
enctmp is only allocated if saltlen > 0, so there is no harm in checking
for that, but it's also pointless. Unconfuses smatch who thinks there
might be a memory leak:
pem/pvkfmt.c:808 do_PVK_body() warn: possible memory leak of 'enctmp'
found by jsg
Diffstat (limited to 'src/lib/libssl')
0 files changed, 0 insertions, 0 deletions