From daa6cf0f7449a182d2c5ac0211dfc060e4c7d3ef Mon Sep 17 00:00:00 2001 From: Peter Dettman Date: Sun, 5 Apr 2020 13:20:18 +0700 Subject: Spelling in exception message --- crypto/src/pkix/PkixAttrCertPathBuilder.cs | 2 +- crypto/src/pkix/PkixCertPathBuilder.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'crypto') diff --git a/crypto/src/pkix/PkixAttrCertPathBuilder.cs b/crypto/src/pkix/PkixAttrCertPathBuilder.cs index 3d5fa18e3..a45f30bc9 100644 --- a/crypto/src/pkix/PkixAttrCertPathBuilder.cs +++ b/crypto/src/pkix/PkixAttrCertPathBuilder.cs @@ -47,7 +47,7 @@ namespace Org.BouncyCastle.Pkix if (targets.Count == 0) { throw new PkixCertPathBuilderException( - "No attribute certificate found matching targetContraints."); + "No attribute certificate found matching targetConstraints."); } PkixCertPathBuilderResult result = null; diff --git a/crypto/src/pkix/PkixCertPathBuilder.cs b/crypto/src/pkix/PkixCertPathBuilder.cs index 37a1c8c9c..1bc7b8c9e 100644 --- a/crypto/src/pkix/PkixCertPathBuilder.cs +++ b/crypto/src/pkix/PkixCertPathBuilder.cs @@ -58,7 +58,7 @@ namespace Org.BouncyCastle.Pkix } if (targets.IsEmpty) - throw new PkixCertPathBuilderException("No certificate found matching targetContraints."); + throw new PkixCertPathBuilderException("No certificate found matching targetConstraints."); PkixCertPathBuilderResult result = null; IList certPathList = Platform.CreateArrayList(); -- cgit 1.4.1