diff --git a/SwiftTLS/Sources/Crypto/BigInt.swift b/SwiftTLS/Sources/Crypto/BigInt.swift index 3463ce4..c797515 100644 --- a/SwiftTLS/Sources/Crypto/BigInt.swift +++ b/SwiftTLS/Sources/Crypto/BigInt.swift @@ -622,9 +622,6 @@ extension BigIntStorage : Collection { } } -extension BigIntStorage : MutableCollection { -} - extension BigIntStorage : RandomAccessCollection { } @@ -694,7 +691,7 @@ public struct BigInt { let targetCount = (number.count * MemoryLayout.size + MemoryLayout.size - 1) / MemoryLayout.size var target = BigIntStorage(capacity: targetCount) - try! BigInt.convert(from: number, to: &target) +// try! BigInt.convert(from: number, to: &target) self.init(storage: target, sign: negative) }