- 
    Bug 
- 
    Resolution: Fixed
- 
     P4 P4
- 
    None
| Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build | 
|---|---|---|---|---|---|---|
| JDK-8297576 | 17.0.6 | Christoph Langer | P4 | Resolved | Fixed | b05 | 
| JDK-8303954 | 11.0.20 | Zdenek Zambersky | P4 | Resolved | Fixed | b01 | 
| JDK-8304166 | openjdk8u382 | Zdenek Zambersky | P4 | Resolved | Fixed | b01 | 
| JDK-8359738 | shenandoah8u382 | Zdenek Zambersky | P4 | Resolved | Fixed | b01 | 
sun.security.pkcs11.P11PSSSignature@6e1567f1: Calling C_SignUpdate
Problem:
Problem is in P11PSSSignature.engineUpdate method [1], which unconditionally prints some debug information to stdout. Other prints in that class are conditional based on value of DEBUG field.
Solution:
I have made fix to make these conditional based on value of DEBUG field. As it only affects debug messages, there is no test added.
Testing:
Passed jdk_security locally with my fix.
[1] https://github.com/openjdk/jdk/blob/211fab8d361822bbd1a34a88626853bf4a029af5/src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11PSSSignature.java#L578
- backported by
- 
                    JDK-8297576 P11PSSSignature.engineUpdate should not print debug messages during normal operation -           
- Resolved
 
-         
- 
                    JDK-8303954 P11PSSSignature.engineUpdate should not print debug messages during normal operation -           
- Resolved
 
-         
- 
                    JDK-8304166 P11PSSSignature.engineUpdate should not print debug messages during normal operation -           
- Resolved
 
-         
- 
                    JDK-8359738 P11PSSSignature.engineUpdate should not print debug messages during normal operation -           
- Resolved
 
-         
- links to
- 
                     Commit
        openjdk/jdk8u-dev/a7fb08c2 Commit
        openjdk/jdk8u-dev/a7fb08c2
- 
                     Commit
        openjdk/jdk11u-dev/80615a6f Commit
        openjdk/jdk11u-dev/80615a6f
- 
                     Commit
        openjdk/jdk17u-dev/17438250 Commit
        openjdk/jdk17u-dev/17438250
- 
                     Commit
        openjdk/jdk/2057070e Commit
        openjdk/jdk/2057070e
- 
                     Review
        openjdk/jdk8u-dev/283 Review
        openjdk/jdk8u-dev/283
- 
                     Review
        openjdk/jdk11u-dev/1782 Review
        openjdk/jdk11u-dev/1782
- 
                     Review
        openjdk/jdk17u-dev/708 Review
        openjdk/jdk17u-dev/708
- 
                     Review
        openjdk/jdk/10270 Review
        openjdk/jdk/10270