diff options
author | tb <> | 2023-06-20 14:10:05 +0000 |
---|---|---|
committer | tb <> | 2023-06-20 14:10:05 +0000 |
commit | 87b72859d9c2a2a7486c861e51a81402b904a5f1 (patch) | |
tree | 0b77001eee09431dfd146ff9b723f5686a5c54a4 /src/lib/libc/stdlib | |
parent | 7e9aa9b921436192a2dfffb1472dc4cf7bdac626 (diff) | |
download | openbsd-87b72859d9c2a2a7486c861e51a81402b904a5f1.tar.gz openbsd-87b72859d9c2a2a7486c861e51a81402b904a5f1.tar.bz2 openbsd-87b72859d9c2a2a7486c861e51a81402b904a5f1.zip |
Clean up and fix int_ctx_new()
Compare explicitly against NULL, ensure the engine is always finished on
error, switch to using calloc() instead of malloc() + forgetting to set
some members to 0, use EVP_PKEY_up_ref() and also use pkey_ctx instead of
ret for the newly created EVP_PKEY_CTX.
ok jsing
Diffstat (limited to 'src/lib/libc/stdlib')
0 files changed, 0 insertions, 0 deletions