Two new functions to write out PKCS#8 private keys. Also fixes for some of the the PBE code and a new constant PKCS5_DEFAULT_ITER for the default iteration count if it is passed as zero.
diff --git a/util/libeay.num b/util/libeay.num index a4907c1..0ff1cd9 100755 --- a/util/libeay.num +++ b/util/libeay.num
@@ -1769,3 +1769,5 @@ PKCS5_pbe2_set 1794 PKCS5_PBKDF2_HMAC_SHA1 1795 PKCS5_v2_PBE_keyivgen 1796 +PEM_write_bio_PKCS8PrivateKey 1797 +PEM_write_PKCS8PrivateKey 1798