8278099: two sun/security/pkcs11/Signature tests failed with AssertionError
Reviewed-by: dcubed
This commit is contained in:
parent
4f15be2cd4
commit
669c90e23b
@ -164,7 +164,6 @@ public class CK_MECHANISM {
|
|||||||
// CK_MECHANISM(long) constructor and setParameter(CK_RSA_PKCS_PSS_PARAMS)
|
// CK_MECHANISM(long) constructor and setParameter(CK_RSA_PKCS_PSS_PARAMS)
|
||||||
// methods instead of creating yet another constructor
|
// methods instead of creating yet another constructor
|
||||||
public void setParameter(CK_RSA_PKCS_PSS_PARAMS params) {
|
public void setParameter(CK_RSA_PKCS_PSS_PARAMS params) {
|
||||||
assert(this.mechanism == CKM_RSA_PKCS_PSS);
|
|
||||||
assert(params != null);
|
assert(params != null);
|
||||||
if (this.pParameter != null && this.pParameter.equals(params)) {
|
if (this.pParameter != null && this.pParameter.equals(params)) {
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user