From: Nikos Mavrogiannopoulos Date: Tue, 28 Feb 2017 14:33:45 +0000 (+0100) Subject: tests: doc update [ci skip] X-Git-Tag: gnutls_3_6_0~928 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ce5862c50e56f8d074b2bbcfe89f8f3c8d25cb09;p=thirdparty%2Fgnutls.git tests: doc update [ci skip] Signed-off-by: Nikos Mavrogiannopoulos --- 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);