Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
consuelita committed May 12, 2022
1 parent 023f27c commit 887591b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
2 changes: 0 additions & 2 deletions Sources/ShadowSwift/DarkStarServer.swift
Original file line number Diff line number Diff line change
Expand Up @@ -143,9 +143,7 @@ public class DarkStarServer
}

let persistentECDHData = DarkStar.sharedSecretToData(secret: persistentECDH)

let clientEphemeralPublicKeyData = clientEphemeralPublicKey.compactRepresentation!

let serverEphemeralPublicKey = serverEphemeralPrivateKey.publicKey
let serverEphemeralPublicKeyData = serverEphemeralPublicKey.compactRepresentation!

Expand Down
1 change: 0 additions & 1 deletion Sources/ShadowSwift/ShadowServer.swift
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@ public class ShadowServer: Transmission.Listener
guard let shadow = DarkStarServerConnection(connection: connection, endpoint: self.endpoint, parameters: .tcp, config: self.config, bloomFilter: self.bloomFilter, logger: self.log) else
{
log.error("ShadowServer.Error: incoming connection cannot be used to create a DarkStarServerConnection.")

throw ShadowServerError.darkStarConnectionError
}

Expand Down

0 comments on commit 887591b

Please sign in to comment.