Skip to content

Commit c63d6e8

Browse files
committed
[CryptoKit] Use let instead of var in swift code
1 parent 12c09bf commit c63d6e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cryptography-providers/cryptokit/src/commonMain/swift/SwiftAesGcm.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import Foundation
88
plaintext: NSData,
99
authenticatedData: NSData
1010
) throws -> Data {
11-
var sealedBox = try AES.GCM.seal(
11+
let sealedBox = try AES.GCM.seal(
1212
plaintext as Data,
1313
using: SymmetricKey(data: key as Data),
1414
nonce: try AES.GCM.Nonce(data: nonce as Data),

0 commit comments

Comments
 (0)