Skip to content

Commit cc3274e

Browse files
follow up on RB comments
1 parent 1e25424 commit cc3274e

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

modules/common-security/src/main/java/org/dcache/ssl/CanlContextFactory.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -432,9 +432,6 @@ public KeyAndCertCredential0(PrivateKey privateKey, X509Certificate[] certificat
432432
throw new KeyStoreException("Private and public keys are not matching: EC GOST 34.10");
433433
break;
434434
case "EC":
435-
if (!checkKeysViaSignature("SHA256withECDSA", privateKey, pubKey))
436-
throw new KeyStoreException("Private and public keys are not matching: EC DSA");
437-
break;
438435
case "ECDSA":
439436
if (!checkKeysViaSignature("SHA256withECDSA", privateKey, pubKey))
440437
throw new KeyStoreException("Private and public keys are not matching: EC DSA");

0 commit comments

Comments
 (0)