diff options
Diffstat (limited to 'crypto/src/asn1/esf/SignerLocation.cs')
-rw-r--r-- | crypto/src/asn1/esf/SignerLocation.cs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/crypto/src/asn1/esf/SignerLocation.cs b/crypto/src/asn1/esf/SignerLocation.cs index 106a32c59..7b1300045 100644 --- a/crypto/src/asn1/esf/SignerLocation.cs +++ b/crypto/src/asn1/esf/SignerLocation.cs @@ -25,8 +25,10 @@ namespace Org.BouncyCastle.Asn1.Esf public SignerLocation(Asn1Sequence seq) { - foreach (Asn1TaggedObject obj in seq) + foreach (var element in seq) { + var obj = Asn1TaggedObject.GetInstance(element, Asn1Tags.ContextSpecific); + switch (obj.TagNo) { case 0: |