We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c1cae5b commit 4ee179aCopy full SHA for 4ee179a
Sources/CryptorRSA/CryptorRSAKey.swift
@@ -698,7 +698,7 @@ public extension CryptorRSA {
698
#else
699
let keys = matches.flatMap { result -> PublicKey? in
700
701
- let match = result.rangeAt( 1)
+ let match = result.range(at: 1)
702
let start = pemString.index(pemString.startIndex, offsetBy: match.location)
703
let end = pemString.index(start, offsetBy: match.length)
704
0 commit comments