Forráskód Böngészése

Mark `RSA.RSAEncryptionVariant` as `@frozen`

JP Simard 2 éve
szülő
commit
5627b911d7
1 módosított fájl, 1 hozzáadás és 0 törlés
  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.
     ///