Parcourir la source

Mark `RSA.RSAEncryptionVariant` as `@frozen`

JP Simard il y a 3 ans
Parent
commit
5627b911d7
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  1. 1 0
      Sources/CryptoSwift/RSA/RSA+Cipher.swift

+ 1 - 0
Sources/CryptoSwift/RSA/RSA+Cipher.swift

@@ -66,6 +66,7 @@ extension RSA: Cipher {
 extension RSA {
   /// RSA Encryption Block Types
   /// - [RFC2313 8.1 - Encryption block formatting](https://datatracker.ietf.org/doc/html/rfc2313#section-8.1)
+  @frozen
   public enum RSAEncryptionVariant {
     /// The `unsafe` encryption variant, is fully deterministic and doesn't format the inbound data in any way.
     ///