Explorar o código

Mark `RSA.RSAEncryptionVariant` as `@frozen`

JP Simard %!s(int64=3) %!d(string=hai) anos
pai
achega
5627b911d7
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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.
     ///