diff options
author | Josh Soref <jsoref@users.noreply.github.com> | 2021-11-24 12:55:31 +0100 |
---|---|---|
committer | Daniel Salzman <daniel.salzman@nic.cz> | 2021-11-24 12:55:47 +0100 |
commit | 43db89b8800776d477dd1fee294a378bcb4041e0 (patch) | |
tree | f19cff66b5f62faf5649c0528334511663febaf0 /src/libdnssec | |
parent | scripts: add probe_dump.py (diff) | |
download | knot-43db89b8800776d477dd1fee294a378bcb4041e0.tar.xz knot-43db89b8800776d477dd1fee294a378bcb4041e0.zip |
spelling
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
Diffstat (limited to 'src/libdnssec')
-rw-r--r-- | src/libdnssec/key.h | 2 | ||||
-rw-r--r-- | src/libdnssec/key/algorithm.c | 2 | ||||
-rw-r--r-- | src/libdnssec/p11/p11.h | 2 | ||||
-rw-r--r-- | src/libdnssec/random.h | 4 | ||||
-rw-r--r-- | src/libdnssec/sign/sign.c | 2 | ||||
-rw-r--r-- | src/libdnssec/tsig.c | 2 |
6 files changed, 7 insertions, 7 deletions
diff --git a/src/libdnssec/key.h b/src/libdnssec/key.h index e113028c1..65b5c4340 100644 --- a/src/libdnssec/key.h +++ b/src/libdnssec/key.h @@ -276,7 +276,7 @@ typedef enum dnssec_key_digest { bool dnssec_algorithm_digest_support(dnssec_key_digest_t algorithm); /*! - * Create DS (Delgation Signer) RDATA from DNSSEC key. + * Create DS (Delegation Signer) RDATA from DNSSEC key. * * \param[in] key DNSSEC key. * \param[in] digest Digest algorithm to be used. diff --git a/src/libdnssec/key/algorithm.c b/src/libdnssec/key/algorithm.c index 7f32fd4b7..a9bc3eee4 100644 --- a/src/libdnssec/key/algorithm.c +++ b/src/libdnssec/key/algorithm.c @@ -119,7 +119,7 @@ bool dnssec_algorithm_reproducible(dnssec_key_algorithm_t algorithm, bool enable return true; // those are always reproducible case DNSSEC_KEY_ALGORITHM_ECDSA_P256_SHA256: case DNSSEC_KEY_ALGORITHM_ECDSA_P384_SHA384: -#ifdef HAVE_GLNUTLS_REPRODUCIBLE +#ifdef HAVE_GNUTLS_REPRODUCIBLE return enabled; // Reproducible only if GnuTLS supports && enabled #else return false; diff --git a/src/libdnssec/p11/p11.h b/src/libdnssec/p11/p11.h index dfe978cd5..5642a55be 100644 --- a/src/libdnssec/p11/p11.h +++ b/src/libdnssec/p11/p11.h @@ -34,7 +34,7 @@ int p11_reinit(void); int p11_load_module(const char *name); /*! - * Clenaup PKCS11 global context. + * Cleanup PKCS11 global context. * * Should be called when the library is deinitialized to prevent memory leaks. */ diff --git a/src/libdnssec/random.h b/src/libdnssec/random.h index 3a575333b..8d4784f51 100644 --- a/src/libdnssec/random.h +++ b/src/libdnssec/random.h @@ -37,7 +37,7 @@ * \param data Pointer to the output buffer. * \param size Size of the output buffer. * - * \return Error code, DNSEC_EOK if successful. + * \return Error code, DNSSEC_EOK if successful. */ int dnssec_random_buffer(uint8_t *data, size_t size); @@ -46,7 +46,7 @@ int dnssec_random_buffer(uint8_t *data, size_t size); * * \param data Preallocated binary structure to be filled. * - * \return Error code, DNSEC_EOK if successful. + * \return Error code, DNSSEC_EOK if successful. */ int dnssec_random_binary(dnssec_binary_t *data); diff --git a/src/libdnssec/sign/sign.c b/src/libdnssec/sign/sign.c index ffb1f9d63..3a7bcba2a 100644 --- a/src/libdnssec/sign/sign.c +++ b/src/libdnssec/sign/sign.c @@ -356,7 +356,7 @@ int dnssec_sign_write(dnssec_sign_ctx_t *ctx, dnssec_sign_flags_t flags, dnssec_ }; unsigned gnutls_flags = 0; -#ifdef HAVE_GLNUTLS_REPRODUCIBLE +#ifdef HAVE_GNUTLS_REPRODUCIBLE if (flags & DNSSEC_SIGN_REPRODUCIBLE) { gnutls_flags |= GNUTLS_PRIVKEY_FLAG_REPRODUCIBLE; } diff --git a/src/libdnssec/tsig.c b/src/libdnssec/tsig.c index 7e1318752..b7bd9802b 100644 --- a/src/libdnssec/tsig.c +++ b/src/libdnssec/tsig.c @@ -33,7 +33,7 @@ struct dnssec_tsig_ctx { }; /*! - * TSIG algorithm indentifiers. + * TSIG algorithm identifiers. */ typedef struct { dnssec_tsig_algorithm_t id; |