CVSROOT: /cvs Module name: src Changes by: t...@cvs.openbsd.org 2023/12/28 14:53:09
Modified files: lib/libcrypto/gost: gostr341001_ameth.c Log message: 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