summary refs log tree commit diff
path: root/crypto/src/asn1/BERSetParser.cs
diff options
context:
space:
mode:
authorPeter Dettman <peter.dettman@bouncycastle.org>2023-07-24 12:57:09 +0700
committerPeter Dettman <peter.dettman@bouncycastle.org>2023-07-24 12:57:09 +0700
commit521454273ff2d91222cf4b8ac6ab5f16c54b40df (patch)
treea996faffeebf62b4866a2e26a5c5fcf3407662c0 /crypto/src/asn1/BERSetParser.cs
parentadjusted HQC and BIKE keys for latest BC Java changes (diff)
downloadBouncyCastle.NET-ed25519-521454273ff2d91222cf4b8ac6ab5f16c54b40df.tar.xz
Use Asn1Set FromVector utility methods
Diffstat (limited to 'crypto/src/asn1/BERSetParser.cs')
-rw-r--r--crypto/src/asn1/BERSetParser.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/src/asn1/BERSetParser.cs b/crypto/src/asn1/BERSetParser.cs
index 9da964c61..292ae60b1 100644
--- a/crypto/src/asn1/BERSetParser.cs
+++ b/crypto/src/asn1/BERSetParser.cs
@@ -24,7 +24,7 @@ namespace Org.BouncyCastle.Asn1
 
         internal static BerSet Parse(Asn1StreamParser sp)
         {
-            return new BerSet(sp.ReadVector());
+            return BerSet.FromVector(sp.ReadVector());
         }
     }
 }