diff options
author | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2016-05-26 10:58:19 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2016-05-26 10:58:22 +0200 |
commit | 2e40e9c87e3a08081a536fed52df582d7aa2b261 (patch) | |
tree | 68fd9a9df9731e1d76068a7d052f995dc6060b14 | |
parent | 9c36c67b1acf40edca5b0b1ad56bf700dacde354 (diff) | |
download | gnutls-2e40e9c87e3a08081a536fed52df582d7aa2b261.tar.gz |
tests: added small text clarifying the purpose of the cert-common.h header
-rw-r--r-- | tests/cert-common.h | 12 |
1 files changed, 12 insertions, 0 deletions
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 <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" |