summary refs log tree commit diff
diff options
context:
space:
mode:
authorPeter Dettman <peter.dettman@bouncycastle.org>2020-04-05 13:20:18 +0700
committerPeter Dettman <peter.dettman@bouncycastle.org>2020-04-05 13:20:18 +0700
commitdaa6cf0f7449a182d2c5ac0211dfc060e4c7d3ef (patch)
treed89719b2508469c5bc08bc8cfb867411c9b2b09c
parentUpdate versions and release notes for 1.8.6 (diff)
downloadBouncyCastle.NET-ed25519-daa6cf0f7449a182d2c5ac0211dfc060e4c7d3ef.tar.xz
Spelling in exception message
-rw-r--r--crypto/src/pkix/PkixAttrCertPathBuilder.cs2
-rw-r--r--crypto/src/pkix/PkixCertPathBuilder.cs2
2 files changed, 2 insertions, 2 deletions
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();