+16
−4
+31
−18
+2
−1
+3
−0
Loading
This adds a new function which will encrypt a private key using PKCS#8
based on an X509_ALGOR structure and reimplements PKCS8_encrypt to use it.
Update pkcs8 utlity to use PKCS8_set0_pbe.
Reviewed-by:
Rich Salz <rsalz@openssl.org>