Parameter copy sanity checks.
[openssl.git] / doc / crypto / EVP_PKEY_cmp.pod
index 4e1f78bed16167e4388d5ff5b99805875f07014e..7c9e582a81a44616fe854b39c8adf5749609aea6 100644 (file)
@@ -21,7 +21,9 @@ parameters of B<pkey> are missing and 0 if they are present or the algorithm
 doesn't use parameters.
 
 The function EVP_PKEY_copy_parameters() copies the parameters from key
-B<from> to key B<to>.
+B<from> to key B<to>. An error is returned if the parameters are missing in
+B<from> or present in both B<from> and B<to> and mismatch. If the parameters
+in B<from> and B<to> are both present and match this function has no effect.
 
 The function EVP_PKEY_cmp_parameters() compares the parameters of keys
 B<a> and B<b>.