summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2017-02-28 15:33:45 +0100
committerNikos Mavrogiannopoulos <nmav@redhat.com>2017-03-01 11:29:49 +0100
commitce5862c50e56f8d074b2bbcfe89f8f3c8d25cb09 (patch)
treef0f758668e5832889368acc76dfcc63687971736
parentd8b2117106fafef83f253aa0e1d7ff46735e6a5e (diff)
downloadgnutls-ce5862c50e56f8d074b2bbcfe89f8f3c8d25cb09.tar.gz
tests: doc update [ci skip]
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
-rw-r--r--tests/crt_apis.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/crt_apis.c b/tests/crt_apis.c
index 1d46578c37..09ee151922 100644
--- a/tests/crt_apis.c
+++ b/tests/crt_apis.c
@@ -220,6 +220,8 @@ void doit(void)
if (ret != 0)
fail("gnutls_x509_crt_set_key_purpose_oid2 %d\n", ret);
+ /* in the end this will be ignored as the issuer will be set
+ * by gnutls_x509_crt_sign2() */
ret = gnutls_x509_crt_set_issuer_dn(crt, "cn = my CA, o = big\\, and one", &err);
if (ret < 0) {
fail("gnutls_x509_crt_set_issuer_dn: %s, %s\n", gnutls_strerror(ret), err);