PKCS12_parse(): Clean up code and correct documentation