aboutsummaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorMartin Schanzenbach <schanzen@gnunet.org>2022-01-07 11:24:52 +0100
committerMartin Schanzenbach <schanzen@gnunet.org>2022-01-07 11:24:52 +0100
commitf92e35100123a64caee591ef6402c6edb4e90897 (patch)
tree39aa0eed3f76723427fda1e09726d15e9fc2dfb5 /src/include
parent0ddc76385bb8c29389bcfad9f5737c518861a42c (diff)
downloadgnunet-f92e35100123a64caee591ef6402c6edb4e90897.tar.gz
gnunet-f92e35100123a64caee591ef6402c6edb4e90897.zip
-some input sanitization for identity and abd
Diffstat (limited to 'src/include')
-rw-r--r--src/include/gnunet_identity_service.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/gnunet_identity_service.h b/src/include/gnunet_identity_service.h
index e40a741bf..b2a45577f 100644
--- a/src/include/gnunet_identity_service.h
+++ b/src/include/gnunet_identity_service.h
@@ -509,7 +509,7 @@ GNUNET_IDENTITY_write_signature_to_buffer (const struct
509 * @param[out] sig where to write the signature 509 * @param[out] sig where to write the signature
510 * @return #GNUNET_SYSERR on error, #GNUNET_OK on success 510 * @return #GNUNET_SYSERR on error, #GNUNET_OK on success
511 */ 511 */
512int 512enum GNUNET_GenericReturnValue
513GNUNET_IDENTITY_sign_ (const struct 513GNUNET_IDENTITY_sign_ (const struct
514 GNUNET_IDENTITY_PrivateKey *priv, 514 GNUNET_IDENTITY_PrivateKey *priv,
515 const struct 515 const struct
@@ -558,7 +558,7 @@ GNUNET_IDENTITY_sign_ (const struct
558 * @param pub public key of the signer 558 * @param pub public key of the signer
559 * @returns #GNUNET_OK if ok, #GNUNET_SYSERR if invalid 559 * @returns #GNUNET_OK if ok, #GNUNET_SYSERR if invalid
560 */ 560 */
561int 561enum GNUNET_GenericReturnValue
562GNUNET_IDENTITY_signature_verify_ (uint32_t purpose, 562GNUNET_IDENTITY_signature_verify_ (uint32_t purpose,
563 const struct 563 const struct
564 GNUNET_CRYPTO_EccSignaturePurpose *validate, 564 GNUNET_CRYPTO_EccSignaturePurpose *validate,