]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
tests: doc update [ci skip]
authorNikos Mavrogiannopoulos <nmav@redhat.com>
Tue, 28 Feb 2017 14:33:45 +0000 (15:33 +0100)
committerNikos Mavrogiannopoulos <nmav@redhat.com>
Wed, 1 Mar 2017 10:29:49 +0000 (11:29 +0100)
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
tests/crt_apis.c

index 1d46578c3722889278f9e8f2270531bb260db1df..09ee1519224790e4406657aecd9084e671f9ef11 100644 (file)
@@ -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);