瀏覽代碼

Mark `RSA.RSAEncryptionVariant` as `@frozen`

JP Simard 3 年之前
父節點
當前提交
5627b911d7
共有 1 個文件被更改,包括 1 次插入0 次删除
  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.
     ///