Skip to content

Commit

Permalink
Switch struct lets to vars
Browse files Browse the repository at this point in the history
  • Loading branch information
kdubb committed Sep 9, 2020
1 parent 703ba21 commit b292742
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions Sources/ShieldSecurity/SecKeyPair.swift
Original file line number Diff line number Diff line change
Expand Up @@ -153,11 +153,11 @@ public struct SecKeyPair {
"keyMaterial": .octetString(),
])

let keyType: SecKeyType
let exportKeyLength: UInt64
let exportKeyRounds: UInt64
let exportKeySalt: Data
let keyMaterial: Data
public var keyType: SecKeyType
public var exportKeyLength: UInt64
public var exportKeyRounds: UInt64
public var exportKeySalt: Data
public var keyMaterial: Data
}

public func export(password: String,
Expand Down
2 changes: 1 addition & 1 deletion Sources/ShieldX509/ExtensionExtKeyUsage.swift
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public struct ExtKeyUsage: Equatable, Hashable, Codable, ExtensionValue {
public static var extensionID = iso_itu.ds.certificateExtension.extKeyUsage.oid
public static var asn1Schema = Schemas.extKeyUsageExtension

public let keyPurposes: Set<OID>
public var keyPurposes: Set<OID>

public init(keyPurposes: Set<OID>) {
self.keyPurposes = keyPurposes
Expand Down

0 comments on commit b292742

Please sign in to comment.