Skip to content

Commit

Permalink
fix: remove unnecessary guard causing build warning (#43)
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew-Lees11 authored and djones6 committed Mar 6, 2019
1 parent a03f7ed commit a3fecfb
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions Sources/SwiftJWT/BlueECDSA.swift
Original file line number Diff line number Diff line change
Expand Up @@ -89,9 +89,6 @@ class BlueECVerifier: VerifierAlgorithm {

// Send the base64URLencoded signature and `header.claims` to BlueECC for verification.
private func verify(signature: Data, for data: Data) -> Bool {
guard #available(OSX 10.13, *) else {
return false
}
do {
guard let keyString = String(data: key, encoding: .utf8) else {
return false
Expand Down

0 comments on commit a3fecfb

Please sign in to comment.