[java-opensaml] 07/19: Exception message typo.

Brent Putman putmanb at georgetown.edu
Mon Mar 1 05:56:44 UTC 2021


This is an automated email from the git hooks/post-receive script.

putmanb pushed a commit to branch dev/OSJ-82
in repository java-opensaml.

View the commit online:
http://git.shibboleth.net/view/?p=java-opensaml.git;a=commit;h=7ef2cb3377f4fc258809d01729f381ff8cc840c3

commit 7ef2cb3377f4fc258809d01729f381ff8cc840c3
Author: Brent Putman <putmanb at georgetown.edu>
AuthorDate: Sun Dec 27 16:53:04 2020 -0500

    Exception message typo.
---
 .../org/opensaml/xmlsec/agreement/impl/ECDHKeyAgreementProcessor.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/opensaml-xmlsec-impl/src/main/java/org/opensaml/xmlsec/agreement/impl/ECDHKeyAgreementProcessor.java b/opensaml-xmlsec-impl/src/main/java/org/opensaml/xmlsec/agreement/impl/ECDHKeyAgreementProcessor.java
index ba2ef0286..12e5478d8 100644
--- a/opensaml-xmlsec-impl/src/main/java/org/opensaml/xmlsec/agreement/impl/ECDHKeyAgreementProcessor.java
+++ b/opensaml-xmlsec-impl/src/main/java/org/opensaml/xmlsec/agreement/impl/ECDHKeyAgreementProcessor.java
@@ -86,7 +86,7 @@ public class ECDHKeyAgreementProcessor extends AbstractDerivationKeyAgreementPro
             throw new KeyAgreementException("Public credential's public key is not an instance of ECPublicKey");
         }
         if (!ECPrivateKey.class.isInstance(privateCredential.getPrivateKey())) {
-            throw new KeyAgreementException("Private credential's private key is not an instance of ECPublicKey");
+            throw new KeyAgreementException("Private credential's private key is not an instance of ECPrivateKey");
         }
         
         final ECPublicKey publicKey = ECPublicKey.class.cast(publicCredential.getPublicKey());

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list