aboutsummaryrefslogtreecommitdiff
path: root/include/libwebsockets/lws-genec.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/libwebsockets/lws-genec.h')
-rw-r--r--include/libwebsockets/lws-genec.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/libwebsockets/lws-genec.h b/include/libwebsockets/lws-genec.h
index c18cc1e1..5ae1d2f7 100644
--- a/include/libwebsockets/lws-genec.h
+++ b/include/libwebsockets/lws-genec.h
@@ -184,7 +184,7 @@ lws_genecdsa_hash_sig_verify_jws(struct lws_genec_ctx *ctx, const uint8_t *in,
* \param sig: pointer to buffer to take signature
* \param sig_len: length of the buffer (must be >= length of key N)
*
- * Returns <0 for error, or 0 for success.
+ * Returns <0 for error, or >=0 for success.
*
* This creates a JWS ECDSA signature for a hash you already computed and provide.
*