Index: nss/lib/freebl/ec.c |
diff --git a/nss/lib/freebl/ec.c b/nss/lib/freebl/ec.c |
index ca53c1ae88749f055913b7338a3ceec3535cc02f..6af242dc108337804da3073c9aa35cf29c9ad18a 100644 |
--- a/nss/lib/freebl/ec.c |
+++ b/nss/lib/freebl/ec.c |
@@ -870,6 +870,11 @@ cleanup: |
/* |
** Checks the signature on the given digest using the key provided. |
+** |
+** The key argument must represent a valid EC public key (a point on |
+** the relevant curve). If it is not a valid point, then the behavior |
+** of this function is undefined. In cases where a public key might |
+** not be valid, use EC_ValidatePublicKey to check. |
*/ |
SECStatus |
ECDSA_VerifyDigest(ECPublicKey *key, const SECItem *signature, |