 there are any) and the public key, assuming that there always was a public key and that private key equality could be derived from that. Because it&#39;s no longer assumed that the private key in an <a href="../man3/EVP_PKEY.html">EVP_PKEY(3)</a> is always accompanied by a public key, the comparison can not rely on public key comparison alone.</p>

<p>Instead, EVP_PKEY_eq() (and therefore also EVP_PKEY_cmp()) now compares:</p>

<ol>

<li><p>the key parameters (if there are any)</p>

</li>
<li><p>the public