Skip to content

Commit

Permalink
Make PEMDocument Hashable (#28)
Browse files Browse the repository at this point in the history
* Make `PEMDocument` `Hashable`

* Add `Sendable`
  • Loading branch information
dnadoba authored Apr 21, 2023
1 parent 67360b6 commit c43fef6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/SwiftASN1/Basic ASN1 Types/PEMDocument.swift
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ extension PEMSerializable {
}

/// A PEM document is some data, and a discriminator type that is used to advertise the content.
public struct PEMDocument {
public struct PEMDocument: Hashable, Sendable {
fileprivate static let lineLength = 64


Expand Down

0 comments on commit c43fef6

Please sign in to comment.