diff options
author | tb <> | 2023-12-28 21:53:09 +0000 |
---|---|---|
committer | tb <> | 2023-12-28 21:53:09 +0000 |
commit | 20547dc33c870f1d044c7fed8beb186ccdb88db0 (patch) | |
tree | 4fc387752e68016df30cd9ef9529645c0aba2d43 /src/lib/libc/stdlib/recallocarray.c | |
parent | 568addccf1a236c9956def9ef0ec0cbaa474980e (diff) | |
download | openbsd-20547dc33c870f1d044c7fed8beb186ccdb88db0.tar.gz openbsd-20547dc33c870f1d044c7fed8beb186ccdb88db0.tar.bz2 openbsd-20547dc33c870f1d044c7fed8beb186ccdb88db0.zip |
Replace EVP_KEY_assign_GOST() calls with EVP_PKEY_set_type()
Calling EVP_KEY_assign_GOST(pkey, NULL) has the same effect as calling
EVP_PKEY_set_type(pkey, EVP_PKEY_GOSTR01). The only difference is that
the latter form allows for error checking while the former won't let
you do that. Add comments explaining what we're actually doing: freeing
and zeroing the pkey->pkey union.
ok jsing
Diffstat (limited to 'src/lib/libc/stdlib/recallocarray.c')
0 files changed, 0 insertions, 0 deletions