|
|
@@ -785,6 +785,32 @@ func addBasicTests() { |
|
|
|
shouldFail: true, |
|
|
|
expectedError: ":BAD_SIGNATURE:", |
|
|
|
}, |
|
|
|
{ |
|
|
|
testType: serverTest, |
|
|
|
name: "BadRSASignature-ClientAuth", |
|
|
|
config: Config{ |
|
|
|
Bugs: ProtocolBugs{ |
|
|
|
InvalidCertVerifySignature: true, |
|
|
|
}, |
|
|
|
Certificates: []Certificate{getRSACertificate()}, |
|
|
|
}, |
|
|
|
shouldFail: true, |
|
|
|
expectedError: ":BAD_SIGNATURE:", |
|
|
|
flags: []string{"-require-any-client-certificate"}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
testType: serverTest, |
|
|
|
name: "BadECDSASignature-ClientAuth", |
|
|
|
config: Config{ |
|
|
|
Bugs: ProtocolBugs{ |
|
|
|
InvalidCertVerifySignature: true, |
|
|
|
}, |
|
|
|
Certificates: []Certificate{getECDSACertificate()}, |
|
|
|
}, |
|
|
|
shouldFail: true, |
|
|
|
expectedError: ":BAD_SIGNATURE:", |
|
|
|
flags: []string{"-require-any-client-certificate"}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
name: "BadECDSACurve", |
|
|
|
config: Config{ |
|
|
|