summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/dsa/dsa_pmeth.c
diff options
context:
space:
mode:
authortb <>2023-12-28 21:53:09 +0000
committertb <>2023-12-28 21:53:09 +0000
commitd3667a15b63915ec5a5f0ff81ddefd2a8a818762 (patch)
tree4fc387752e68016df30cd9ef9529645c0aba2d43 /src/lib/libcrypto/dsa/dsa_pmeth.c
parent9af7c5400c8197bd79d37c3311c731077adf4581 (diff)
downloadopenbsd-d3667a15b63915ec5a5f0ff81ddefd2a8a818762.tar.gz
openbsd-d3667a15b63915ec5a5f0ff81ddefd2a8a818762.tar.bz2
openbsd-d3667a15b63915ec5a5f0ff81ddefd2a8a818762.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/libcrypto/dsa/dsa_pmeth.c')
0 files changed, 0 insertions, 0 deletions