Merge PKCS12_newpass() and newpass_p12()
authortb <tb@openbsd.org>
Thu, 25 Jan 2024 13:32:49 +0000 (13:32 +0000)
committertb <tb@openbsd.org>
Thu, 25 Jan 2024 13:32:49 +0000 (13:32 +0000)
commite4b6dfd5d051d26e64c697da2bebc924f093f928
treeef8246363df0f0a864384700522d5ac6a5b94d1d
parentc90dc486bc2dd89b578d2ba2c43e600344f8cee2
Merge PKCS12_newpass() and newpass_p12()

With the previous refactoring, newpass_p12() became simple enough that it
doesn't require a separate function anymore. Merge the public API into it
and move it below (most of) the things it calls.

ok jsing
lib/libcrypto/pkcs12/p12_npas.c