diff options
author | Martin Schanzenbach <schanzen@gnunet.org> | 2022-01-07 11:24:52 +0100 |
---|---|---|
committer | Martin Schanzenbach <schanzen@gnunet.org> | 2022-01-07 11:24:52 +0100 |
commit | f92e35100123a64caee591ef6402c6edb4e90897 (patch) | |
tree | 39aa0eed3f76723427fda1e09726d15e9fc2dfb5 /src/include | |
parent | 0ddc76385bb8c29389bcfad9f5737c518861a42c (diff) | |
download | gnunet-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.h | 4 |
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 | */ |
512 | int | 512 | enum GNUNET_GenericReturnValue |
513 | GNUNET_IDENTITY_sign_ (const struct | 513 | GNUNET_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 | */ |
561 | int | 561 | enum GNUNET_GenericReturnValue |
562 | GNUNET_IDENTITY_signature_verify_ (uint32_t purpose, | 562 | GNUNET_IDENTITY_signature_verify_ (uint32_t purpose, |
563 | const struct | 563 | const struct |
564 | GNUNET_CRYPTO_EccSignaturePurpose *validate, | 564 | GNUNET_CRYPTO_EccSignaturePurpose *validate, |