Skip to content

Commit 4ee179a

Browse files
committed
fixed error
1 parent c1cae5b commit 4ee179a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/CryptorRSA/CryptorRSAKey.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -698,7 +698,7 @@ public extension CryptorRSA {
698698
#else
699699
let keys = matches.flatMap { result -> PublicKey? in
700700

701-
let match = result.rangeAt( 1)
701+
let match = result.range(at: 1)
702702
let start = pemString.index(pemString.startIndex, offsetBy: match.location)
703703
let end = pemString.index(start, offsetBy: match.length)
704704

0 commit comments

Comments
 (0)