Update SmartCard.swift

fixed PUK generation
This commit is contained in:
Bitgamma 2020-12-11 12:12:46 +03:00 committed by GitHub
parent 44b75fddd2
commit 805aaf956c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -265,7 +265,7 @@ class SmartCard {
} }
func randomPUK() -> String { func randomPUK() -> String {
return String(format: "%012d", Int.random(in: 0..<999999999999)) return String(format: "%012ld", Int64.random(in: 0..<999999999999))
} }
func randomPairingPassword() -> String { func randomPairingPassword() -> String {