summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorStefan Kangas <stefankangas@gmail.com>2022-12-26 23:48:16 +0100
committerStefan Kangas <stefankangas@gmail.com>2022-12-27 14:54:25 +0100
commit38130399d248fba165221a352e5f32b7dc2840bf (patch)
tree32b51e3fd864d65531cb039425a922ab97039499 /lib
parentd39640db956af253bc97e33981bfee3e65434b33 (diff)
downloadgnutls-38130399d248fba165221a352e5f32b7dc2840bf.tar.gz
Fix typos
Signed-off-by: Stefan Kangas <stefankangas@gmail.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/crypto-selftests.c4
-rw-r--r--lib/ext/compress_certificate.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/lib/crypto-selftests.c b/lib/crypto-selftests.c
index e51e0826f7..cf3b7e142e 100644
--- a/lib/crypto-selftests.c
+++ b/lib/crypto-selftests.c
@@ -548,7 +548,7 @@ const struct cipher_vectors_st gost28147_tc26z_cnt_vectors[] = {
};
/* Manually calculated to overcome section size differences between TLS cipher
- * and test vectors defined in recommendation for standarization
+ * and test vectors defined in recommendation for standardization
* R 1323565.1.017-2018. TLS uses 1024 byte sections, we need more to have at
* least one rekeying. */
const struct cipher_vectors_st magma_ctr_acpkm_vectors[] = {
@@ -697,7 +697,7 @@ const struct cipher_vectors_st magma_ctr_acpkm_vectors[] = {
};
/* Manually calculated to overcome section size differences between TLS cipher
- * and test vectors defined in recommendation for standarization
+ * and test vectors defined in recommendation for standardization
* R 1323565.1.017-2018. TLS uses 4096 byte sections, we need more to have at
* least one rekeying. */
const struct cipher_vectors_st kuznyechik_ctr_acpkm_vectors[] = {
diff --git a/lib/ext/compress_certificate.c b/lib/ext/compress_certificate.c
index 2e35a1f362..7d94e47aea 100644
--- a/lib/ext/compress_certificate.c
+++ b/lib/ext/compress_certificate.c
@@ -110,7 +110,7 @@ gnutls_compress_certificate_get_selected_method(gnutls_session_t session)
* for a) requesting the compression of peer's certificate and b) selecting the
* method to compress the local certificate before sending it to the peer.
* The order of compression methods inside the list does matter as the method
- * that appears earlier in the list will be preffered before the later ones.
+ * that appears earlier in the list will be preferred before the later ones.
* Note that even if you set the list of supported compression methods, the
* compression might not be used if the peer does not support any of your chosen
* compression methods.