Fix various error codes to match functions.
[openssl.git] / doc / crypto / PKCS12_create.pod
index 495a2b8c4065192e0b90e3806444a7dbdac66eef..de7cab2bdffc57b05373d6da68ced3207b2ca754 100644 (file)
@@ -51,8 +51,12 @@ encryption.
 Some additional functionality was added to PKCS12_create() in OpenSSL
 0.9.8. These extensions are detailed below.
 
+If a certificate contains an B<alias> or B<keyid> then this will be
+used for the corresponding B<friendlyName> or B<localKeyID> in the
+PKCS12 structure.
+
 Either B<pkey>, B<cert> or both can be B<NULL> to indicate that no key or
-certficate is required. In previous versions both hasves to be present or
+certficate is required. In previous versions both had to be present or
 a fatal error is returned.
 
 B<nid_key> or B<nid_cert> can be set to -1 indicating that no encryption