Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove C++ SSL Certificate API #2132

Merged
merged 12 commits into from
May 9, 2024
Prev Previous commit
Next Next commit
Fix Swift build failure
pepone committed May 8, 2024
commit f0c164069b4ca0d0f1eb2469880ffdf673161f23
4 changes: 2 additions & 2 deletions swift/test/IceSSL/configuration/TestI.swift
Original file line number Diff line number Diff line change
@@ -17,7 +17,7 @@ class ServerI: SSLServer {
func noCert(current: Ice.Current) throws {
do {
let info = try current.con!.getInfo() as! SSLConnectionInfo
try _helper.test(info.certs.count == 0)
try _helper.test(info.peerCertificate == nil)
} catch is Ice.LocalException {
try _helper.test(false)
}
@@ -26,7 +26,7 @@ class ServerI: SSLServer {
func checkCert(subjectDN _: String, issuerDN _: String, current: Ice.Current) throws {
do {
let info = try current.con!.getInfo() as! SSLConnectionInfo
try _helper.test(info.certs.count == 2)
try _helper.test(info.peerCertificate != nil)
} catch is Ice.LocalException {
try _helper.test(false)
}