diff options
Diffstat (limited to 'tests/tls13/multi-ocsp.c')
-rw-r--r-- | tests/tls13/multi-ocsp.c | 3 |
1 files changed, 2 insertions, 1 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"); |