Skip to content

Commit

Permalink
fixed error
Browse files Browse the repository at this point in the history
  • Loading branch information
KyeMaloy97 committed Aug 8, 2018
1 parent c1cae5b commit 4ee179a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/CryptorRSA/CryptorRSAKey.swift
Original file line number Diff line number Diff line change
Expand Up @@ -698,7 +698,7 @@ public extension CryptorRSA {
#else
let keys = matches.flatMap { result -> PublicKey? in

let match = result.rangeAt( 1)
let match = result.range(at: 1)
let start = pemString.index(pemString.startIndex, offsetBy: match.location)
let end = pemString.index(start, offsetBy: match.length)

Expand Down

0 comments on commit 4ee179a

Please sign in to comment.