mirror of
https://github.com/openjdk/jdk.git
synced 2026-01-28 12:09:14 +00:00
8293815: P11PSSSignature.engineUpdate should not print debug messages during normal operation
Reviewed-by: valeriep
This commit is contained in:
parent
7376c55219
commit
2057070eb0
@ -576,10 +576,10 @@ final class P11PSSSignature extends SignatureSpi {
|
||||
case T_UPDATE:
|
||||
try {
|
||||
if (mode == M_SIGN) {
|
||||
System.out.println(this + ": Calling C_SignUpdate");
|
||||
if (DEBUG) System.out.println(this + ": Calling C_SignUpdate");
|
||||
token.p11.C_SignUpdate(session.id(), 0, b, ofs, len);
|
||||
} else {
|
||||
System.out.println(this + ": Calling C_VerfifyUpdate");
|
||||
if (DEBUG) System.out.println(this + ": Calling C_VerfifyUpdate");
|
||||
token.p11.C_VerifyUpdate(session.id(), 0, b, ofs, len);
|
||||
}
|
||||
bytesProcessed += len;
|
||||
@ -625,11 +625,11 @@ final class P11PSSSignature extends SignatureSpi {
|
||||
int ofs = byteBuffer.position();
|
||||
try {
|
||||
if (mode == M_SIGN) {
|
||||
System.out.println(this + ": Calling C_SignUpdate");
|
||||
if (DEBUG) System.out.println(this + ": Calling C_SignUpdate");
|
||||
token.p11.C_SignUpdate
|
||||
(session.id(), addr + ofs, null, 0, len);
|
||||
} else {
|
||||
System.out.println(this + ": Calling C_VerifyUpdate");
|
||||
if (DEBUG) System.out.println(this + ": Calling C_VerifyUpdate");
|
||||
token.p11.C_VerifyUpdate
|
||||
(session.id(), addr + ofs, null, 0, len);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user