<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: Times New Roman; font-size: 12pt; color: #000000'>
<div><br>
</div><div>Can someone help reviewing this fix? AFAIK, only S11.4 have such mechanisms, e.g. RC4 which only does decryption but not encryption.</div><div>But the checks seems reasonable to apply to all PKCS11 libraries when querying mechanisms. <br></div><div>No new regression test needed as this is already caught by running existing regression tests on S11.4.<br></div><div><br></div><div>Bug: https://bugs.openjdk.java.net/browse/JDK-8176837</div><div>Webrev: http://cr.openjdk.java.net/~valeriep/8176837/webrev.00/</div><div><br></div><div>Thanks,</div><div>Valerie<br>
</div>
</div></body></html>