aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstrongswan/crypto/nonce_gen.h
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2012-12-20 09:31:38 +0100
committerTobias Brunner <tobias@strongswan.org>2012-12-20 09:35:26 +0100
commitef33a4ab82994b24f984c2dd02ea034498b24ad3 (patch)
treecca6b2fe556a6febc5b6d553dda75bf943b2bfc6 /src/libstrongswan/crypto/nonce_gen.h
parentba8b28b67f8649fa562f12f59f55c3312b9053f1 (diff)
downloadstrongswan-ef33a4ab82994b24f984c2dd02ea034498b24ad3.tar.bz2
strongswan-ef33a4ab82994b24f984c2dd02ea034498b24ad3.tar.xz
Fixed some typos, courtesy of codespell
Diffstat (limited to 'src/libstrongswan/crypto/nonce_gen.h')
-rw-r--r--src/libstrongswan/crypto/nonce_gen.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstrongswan/crypto/nonce_gen.h b/src/libstrongswan/crypto/nonce_gen.h
index 50f3c0090..7dae4f776 100644
--- a/src/libstrongswan/crypto/nonce_gen.h
+++ b/src/libstrongswan/crypto/nonce_gen.h
@@ -35,7 +35,7 @@ struct nonce_gen_t {
*
* @param size size of nonce in bytes
* @param buffer pointer where the generated nonce will be written
- * @return TRUE if nonce allocation was succesful, FALSE otherwise
+ * @return TRUE if nonce allocation was successful, FALSE otherwise
*/
bool (*get_nonce)(nonce_gen_t *this, size_t size,
u_int8_t *buffer) __attribute__((warn_unused_result));
@@ -45,7 +45,7 @@ struct nonce_gen_t {
*
* @param size size of nonce in bytes
* @param chunk chunk which will hold the generated nonce
- * @return TRUE if nonce allocation was succesful, FALSE otherwise
+ * @return TRUE if nonce allocation was successful, FALSE otherwise
*/
bool (*allocate_nonce)(nonce_gen_t *this, size_t size,
chunk_t *chunk) __attribute__((warn_unused_result));