Skip to content

Commit 9131013

Browse files
committed
fixed typo
1 parent 51d4ee0 commit 9131013

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/JWT.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ public enum Algorithm: CustomStringConvertible {
5959

6060
func signRS(_ key: Data, digestType: Signature.DigestType) throws -> String {
6161

62-
let privateKey = try PrivateKey(data: data)
62+
let privateKey = try PrivateKey(data: key)
6363

6464
let clear = try ClearMessage(string: message, using: .utf8)
6565

0 commit comments

Comments
 (0)