From: Nikos Mavrogiannopoulos Date: Thu, 26 May 2016 08:58:19 +0000 (+0200) Subject: tests: added small text clarifying the purpose of the cert-common.h header X-Git-Tag: gnutls_3_5_1~110 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2e40e9c87e3a08081a536fed52df582d7aa2b261;p=thirdparty%2Fgnutls.git tests: added small text clarifying the purpose of the cert-common.h header --- diff --git a/tests/cert-common.h b/tests/cert-common.h index d18bebe64e..f1f057c24c 100644 --- a/tests/cert-common.h +++ b/tests/cert-common.h @@ -22,6 +22,17 @@ #include + +/* 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"