summary refs log tree commit diff
path: root/crypto/src/crmf
diff options
context:
space:
mode:
authorPeter Dettman <peter.dettman@bouncycastle.org>2023-07-31 15:58:26 +0700
committerPeter Dettman <peter.dettman@bouncycastle.org>2023-07-31 15:58:26 +0700
commitebbb4436604550d60ded2e1e4454bd7b7c0727d6 (patch)
tree39ff53635a27cea2567d23b42c4a0c4af5cfa795 /crypto/src/crmf
parentFix conditional (diff)
downloadBouncyCastle.NET-ed25519-ebbb4436604550d60ded2e1e4454bd7b7c0727d6.tar.xz
Misc. cleanup
Diffstat (limited to 'crypto/src/crmf')
-rw-r--r--crypto/src/crmf/CertificateRequestMessageBuilder.cs6
1 files changed, 2 insertions, 4 deletions
diff --git a/crypto/src/crmf/CertificateRequestMessageBuilder.cs b/crypto/src/crmf/CertificateRequestMessageBuilder.cs
index 84c9b7966..34a224df1 100644
--- a/crypto/src/crmf/CertificateRequestMessageBuilder.cs
+++ b/crypto/src/crmf/CertificateRequestMessageBuilder.cs
@@ -187,10 +187,8 @@ namespace Org.BouncyCastle.Crmf
         }
 #endif
 
-        public CertificateRequestMessageBuilder SetAuthInfoSender(X509Name sender)
-        {
-            return SetAuthInfoSender(new GeneralName(sender));
-        }
+        public CertificateRequestMessageBuilder SetAuthInfoSender(X509Name sender) =>
+            SetAuthInfoSender(new GeneralName(sender));
 
         public CertificateRequestMessageBuilder SetAuthInfoSender(GeneralName sender)
         {