diff options
| author | Carl Hetherington <cth@carlh.net> | 2016-08-25 14:41:52 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2016-08-25 14:41:52 +0100 |
| commit | ac6df088854c0eeb7795436aafcfae7d367f4486 (patch) | |
| tree | 0d046e45be1f7a97d45dcd3701563364a29e8040 /src | |
| parent | 14ce6b8765f47db4f2cc4ab4d2eff64486792e62 (diff) | |
Tweak assert.
Diffstat (limited to 'src')
| -rw-r--r-- | src/certificate_chain.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/certificate_chain.cc b/src/certificate_chain.cc index ac01d860..29ae7feb 100644 --- a/src/certificate_chain.cc +++ b/src/certificate_chain.cc @@ -343,7 +343,7 @@ CertificateChain::root () const Certificate CertificateChain::leaf () const { - DCP_ASSERT (_certificates.size() >= 2); + DCP_ASSERT (!_certificates.empty()); return _certificates.back (); } |
