summary refs log tree commit diff
diff options
context:
space:
mode:
-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();