Просмотр исходного кода

Avoid using empty initializer lists.

One of Chromium's toolchains can't handle this for some reason. See also
empty_crls and empty in TestVerify.

Change-Id: I5e6a849f3042288da2e406882ae5cfec249a86ae
Reviewed-on: https://boringssl-review.googlesource.com/11340
Reviewed-by: Steven Valdez <svaldez@google.com>
Reviewed-by: David Benjamin <davidben@google.com>
Commit-Queue: David Benjamin <davidben@google.com>
CQ-Verified: CQ bot account: commit-bot@chromium.org <commit-bot@chromium.org>
kris/onging/CECPQ3_patch15
David Benjamin 8 лет назад
committed by CQ bot account: commit-bot@chromium.org
Родитель
Сommit
daf4a05bf4
1 измененных файлов: 2 добавлений и 1 удалений
  1. +2
    -1
      crypto/x509/x509_test.cc

+ 2
- 1
crypto/x509/x509_test.cc Просмотреть файл

@@ -545,7 +545,8 @@ static bool TestCRL() {
return false;
}

if (Verify(leaf.get(), {root.get()}, {root.get()}, {},
std::vector<X509_CRL *> empty_crls;
if (Verify(leaf.get(), {root.get()}, {root.get()}, empty_crls,
X509_V_FLAG_CRL_CHECK) != X509_V_ERR_UNABLE_TO_GET_CRL) {
fprintf(stderr, "CRLs were not required.\n");
return false;


Загрузка…
Отмена
Сохранить