summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
Diffstat (limited to 'src/include')
-rw-r--r--src/include/taler_crypto_lib.h6
-rw-r--r--src/include/taler_exchangedb_plugin.h4
-rw-r--r--src/include/taler_extensions.h6
-rw-r--r--src/include/taler_util.h4
4 files changed, 10 insertions, 10 deletions
diff --git a/src/include/taler_crypto_lib.h b/src/include/taler_crypto_lib.h
index 5b32dd5ca..3d6c20b6f 100644
--- a/src/include/taler_crypto_lib.h
+++ b/src/include/taler_crypto_lib.h
@@ -1762,7 +1762,7 @@ TALER_test_coin_valid (const struct TALER_CoinPublicInfo *coin_public_info,
* @param blinded_planchet blinded planchet
* @param denom_hash hash of the denomination publick key
* @param[out] bch where to write the hash
- * @return #GNUNET_OK when successful, #GNUNET_SYSERR if an internal error occured
+ * @return #GNUNET_OK when successful, #GNUNET_SYSERR if an internal error occurred
*/
enum GNUNET_GenericReturnValue
TALER_coin_ev_hash (const struct TALER_BlindedPlanchet *blinded_planchet,
@@ -5120,7 +5120,7 @@ TALER_age_commitment_hash (
*
* @param mask The age mask the defines the age groups
* @param age The actual age for which an age commitment is generated
- * @param seed The seed that goes into the key generation. MUST be choosen uniformly random.
+ * @param seed The seed that goes into the key generation. MUST be chosen uniformly random.
* @param[out] comm_proof The generated age commitment, ->priv and ->pub allocated via GNUNET_malloc() on success
* @return #GNUNET_OK on success, #GNUNET_SYSERR otherwise
*/
@@ -5168,7 +5168,7 @@ TALER_age_commitment_attest (
* @param commitment The age commitment that went into the attestation. Only the public keys are needed.
* @param age Age (not age group) for which the an attestation should be done
* @param attest Signature of the age with the appropriate key from the age commitment for the corresponding age group, if applicaple.
- * @return #GNUNET_OK when the attestation was successfull, GNUNET_NO no attestation couldn't be verified, #GNUNET_SYSERR otherwise
+ * @return #GNUNET_OK when the attestation was successful, #GNUNET_NO no attestation couldn't be verified, #GNUNET_SYSERR otherwise
*/
enum GNUNET_GenericReturnValue
TALER_age_commitment_verify (
diff --git a/src/include/taler_exchangedb_plugin.h b/src/include/taler_exchangedb_plugin.h
index 6cb9a3a40..42a6795f9 100644
--- a/src/include/taler_exchangedb_plugin.h
+++ b/src/include/taler_exchangedb_plugin.h
@@ -1420,7 +1420,7 @@ struct TALER_EXCHANGEDB_DepositListEntry
struct TALER_DenominationHashP h_denom_pub;
/**
- * Age commitment hash, if applicable ot the denomination. Should be all
+ * Age commitment hash, if applicable to the denomination. Should be all
* zeroes if age commitment is not applicable to the denonimation.
*/
struct TALER_AgeCommitmentHash h_age_commitment;
@@ -5235,7 +5235,7 @@ struct TALER_EXCHANGEDB_Plugin
/**
- * Function called to reutrn meta data about a purse by the
+ * Function called to return meta data about a purse by the
* purse public key.
*
* @param cls the @e cls of this struct with the plugin-specific state
diff --git a/src/include/taler_extensions.h b/src/include/taler_extensions.h
index 32821e500..82392a3ea 100644
--- a/src/include/taler_extensions.h
+++ b/src/include/taler_extensions.h
@@ -99,8 +99,8 @@ TALER_extensions_is_json_config (
* he JSON object must be of type ExchangeKeysResponse as described in
* https://docs.taler.net/design-documents/006-extensions.html#exchange
*
- * @param cfg JSON object containting the configuration for all extensions
- * @return GNUNET_OK on success, GNUNET_SYSERR if unknown extensions were found
+ * @param cfg JSON object containing the configuration for all extensions
+ * @return #GNUNET_OK on success, #GNUNET_SYSERR if unknown extensions were found
* or any particular configuration couldn't be parsed.
*/
enum GNUNET_GenericReturnValue
@@ -267,7 +267,7 @@ TALER_extensions_age_restriction_num_groups ();
* Parses a JSON object { "age_groups": "a:b:...y:z" }.
*
* @param root is the json object
- * @param[out] mask on succes, will contain the age mask
+ * @param[out] mask on success, will contain the age mask
* @return #GNUNET_OK on success and #GNUNET_SYSERR on failure.
*/
enum GNUNET_GenericReturnValue
diff --git a/src/include/taler_util.h b/src/include/taler_util.h
index e5c7b97b5..afc8ebada 100644
--- a/src/include/taler_util.h
+++ b/src/include/taler_util.h
@@ -494,12 +494,12 @@ TALER_yna_to_string (enum TALER_EXCHANGE_YesNoAll yna);
#ifdef __APPLE__
/**
- * Returns the first occurence of `c` in `s`, or returns the null-byte
+ * Returns the first occurrence of `c` in `s`, or returns the null-byte
* terminating the string if it does not occur.
*
* @param s the string to search in
* @param c the character to search for
- * @return char* the first occurence of `c` in `s`
+ * @return char* the first occurrence of `c` in `s`
*/
char *strchrnul (const char *s, int c);