Use better order in EVP_PKEY_CTRL_TLS_SECRET
authortb <tb@openbsd.org>
Tue, 9 Jul 2024 17:04:50 +0000 (17:04 +0000)
committertb <tb@openbsd.org>
Tue, 9 Jul 2024 17:04:50 +0000 (17:04 +0000)
commit90e978ad7d2a4c582d7124a4990a3c8a53d504a8
tree77d881805b69b55a7c6298dcd8cbb70e36440b86
parentbaa34b1277c20762a41c647a0bbd1e9f1f5326fb
Use better order in EVP_PKEY_CTRL_TLS_SECRET

Also avoid an unnecessary NULL check.
lib/libcrypto/kdf/tls1_prf.c