summaryrefslogtreecommitdiff
path: root/tests/tls13
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2018-01-04 17:32:58 +0100
committerNikos Mavrogiannopoulos <nmav@redhat.com>2018-02-19 15:29:37 +0100
commit0463cc215ca350c0ce7dc93f1ae508caae5bf029 (patch)
treeabe30405689f11577ec4f4998cb636a839da2c89 /tests/tls13
parenta2b73eb8b174a04083fd79fb04124dd9220876ff (diff)
downloadgnutls-0463cc215ca350c0ce7dc93f1ae508caae5bf029.tar.gz
tests: corrected various typos
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Diffstat (limited to 'tests/tls13')
-rw-r--r--tests/tls13/multi-ocsp.c3
-rw-r--r--tests/tls13/ocsp-client.c4
2 files changed, 5 insertions, 2 deletions
diff --git a/tests/tls13/multi-ocsp.c b/tests/tls13/multi-ocsp.c
index 77a1af7465..534e9713fd 100644
--- a/tests/tls13/multi-ocsp.c
+++ b/tests/tls13/multi-ocsp.c
@@ -136,9 +136,9 @@ void doit(void)
gnutls_certificate_set_flags(xcred, GNUTLS_CERTIFICATE_API_V2);
+ /* set cert with localhost name */
certfile1 = get_tmpname(certname1);
- /* set cert with localhost name */
fp = fopen(certfile1, "wb");
if (fp == NULL)
fail("error in fopen\n");
@@ -152,6 +152,7 @@ void doit(void)
fail("set_x509_key_file failed: %s\n", gnutls_strerror(ret));
index1 = ret;
+ /* set cert with localhost6 name */
certfile2 = get_tmpname(certname2);
fp = fopen(certfile2, "wb");
diff --git a/tests/tls13/ocsp-client.c b/tests/tls13/ocsp-client.c
index 57ad803292..5fb60770e7 100644
--- a/tests/tls13/ocsp-client.c
+++ b/tests/tls13/ocsp-client.c
@@ -36,7 +36,9 @@
#include "utils.h"
/* Tests whether we can send and receive multiple OCSP responses
- * one for each certificate in a chain under TLS 1.3.
+ * one for each certificate in a chain under TLS 1.3, but unrelated
+ * to these certificate (using the GNUTLS_CERTIFICATE_SKIP_OCSP_RESPONSE_CHECK
+ * flag).
*/
static time_t mytime(time_t * t)