]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
tests: added small text clarifying the purpose of the cert-common.h header
authorNikos Mavrogiannopoulos <nmav@redhat.com>
Thu, 26 May 2016 08:58:19 +0000 (10:58 +0200)
committerNikos Mavrogiannopoulos <nmav@redhat.com>
Thu, 26 May 2016 08:58:22 +0000 (10:58 +0200)
tests/cert-common.h

index d18bebe64ec8d299c97e9744c98b1fb8e9bd4c64..f1f057c24c4e4fa2c9733e23f6bee481cdaf7124 100644 (file)
 
 #include <gnutls/gnutls.h>
 
+
+/* This file contains a lot of common parameters used by legacy and new
+ * tests. The recommended to use for new tests are:
+ *
+ * CA: ca3_cert, ca3_key
+ * TLS client: cli_ca3_cert, cli_ca3_key
+ * IPv6 server: server_ca3_localhost6_cert, server_ca3_key
+ * IPv4 server: server_ca3_localhost_cert, server_ca3_key
+ */
+
+
 static char ecc_key[] =
        "-----BEGIN EC PRIVATE KEY-----\n"
        "MHgCAQEEIQD9KwCA8zZfETJl440wMztH9c74E+VMws/96AVqyslBsaAKBggqhkjO\n"
@@ -610,6 +621,7 @@ const gnutls_datum_t server_ca3_localhost6_cert = { (void*)server_localhost6_ca3
        sizeof(server_localhost6_ca3_cert_pem)-1
 };
 
+
 /* shares server_ca3 key */
 static char server_localhost_ca3_cert_pem[] =
        "-----BEGIN CERTIFICATE-----\n"