Kitura / Kitura/Kitura-WebSocket
Build Failure on Linux "cannot find 'SSL_get_peer_certificate' in scope"
- Dominant language
- Swift
- Stars
- 67
- Forks
- 29
- PR merge metrics
- No merged PRs in 30d
Description
OS Manjaro Linux 23.1.3
Swift 5.9.2
Package.swift
```swift
import PackageDescription
let package = Package(
name: "wstest",
dependencies: [
.package(url: "https://github.com/Kitura/Kitura-WebSocket.git" , branch: "master")
],
targets: [
.executableTarget(
name: "wstest",
dependencies: ["Kitura-WebSocket"]
),
]
)
```
Upon running swift build I'm presented with the following error
```bash
/home/kevin/p/k/swift/wstest/.build/checkouts/BlueSSLService/Sources/SSLService/SSLService.swift:1322:8: error: cannot find 'SSL_get_peer_certificate' in scope
if SSL_get_peer_certificate(.make(optional: sslConnect)) != nil {
^~~~~~~~~~~~~~~~~~~~~~~~
/home/kevin/p/k/swift/wstest/.build/checkouts/BlueSSLService/Sources/SSLService/SSLService.swift:1322:34: error: cannot infer contextual base in reference to member 'make'
if SSL_get_peer_certificate(.make(optional: sslConnect)) != nil {
~^~~~
error: fatalError
```
Openssl 1.0, 1.1 and 3.2 are installed.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.