diff options
author | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2014-04-17 09:46:14 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2014-04-17 09:46:14 +0200 |
commit | 885e4f61f7ecd9e8f16ef7a214d7520041cf59ae (patch) | |
tree | d21ece81518e40081237ecb05accefdb5987f42d /tests/test-chains.h | |
parent | 98901d7c4bc5d2a143f4f19dc37bb377f821f8bd (diff) | |
download | gnutls-885e4f61f7ecd9e8f16ef7a214d7520041cf59ae.tar.gz |
use MAX_CHAIN definition to avoid overflow issues in the future
Diffstat (limited to 'tests/test-chains.h')
-rw-r--r-- | tests/test-chains.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/test-chains.h b/tests/test-chains.h index 481f161dd5..fd6956140c 100644 --- a/tests/test-chains.h +++ b/tests/test-chains.h @@ -22,6 +22,8 @@ /* *INDENT-OFF* */ +#define MAX_CHAIN 10 + static const char *nc_bad1[] = { "-----BEGIN CERTIFICATE-----\n" "MIIDiTCCAkGgAwIBAgIMUwS5Fgr3eOV9V76jMA0GCSqGSIb3DQEBCwUAMA8xDTAL\n" |