Skip to content

Commit

Permalink
Resolve compilation warning
Browse files Browse the repository at this point in the history
  • Loading branch information
djones6 committed Jul 16, 2019
1 parent db06684 commit 67cf1f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/CryptorRSA/CryptorRSAUtilities.swift
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ public extension CryptorRSA {
throw Error(code: ERR_STRIP_PK_HEADER, reason: "Provided public key is empty")
}

var byteArray = [UInt8](keyData)
let byteArray = [UInt8](keyData)

var index = 0
guard byteArray[index] == 0x30 else {
Expand Down

0 comments on commit 67cf1f2

Please sign in to comment.