[Bug 220380] Add SSL client auth stress tests. Attachment #4. r=julien

This commit is contained in:
alexei.volkov.bugs%sun.com 2006-05-20 18:32:08 +00:00
Родитель 2d8ce84ddb
Коммит 538a18fde0
1 изменённых файлов: 6 добавлений и 1 удалений

Просмотреть файл

@ -1497,8 +1497,13 @@ main(int argc, char **argv)
else {
printf("strsclnt: NoReuse - %d server certificates tested.\n",
certsTested);
exitVal = (ssl3stats->hsh_sid_cache_misses != connections) ||
if (ssl3stats->hsh_sid_cache_hits + ssl3stats->hsh_sid_cache_misses +
ssl3stats->hsh_sid_cache_not_ok > 0) {
exitVal = (ssl3stats->hsh_sid_cache_misses != connections) ||
(certsTested != connections);
} else { /* ssl2 connections */
exitVal = (certsTested != connections);
}
}
exitVal = ( exitVal || failed_already );