diff options
| author | Peter Jones <pjones@redhat.com> | 2017-09-27 16:26:38 -0400 |
|---|---|---|
| committer | Peter Jones <pmjones@gmail.com> | 2018-03-12 16:21:43 -0400 |
| commit | 66a7b53677e297ac5be83945dd12ac80c947c6b3 (patch) | |
| tree | 7f2a3b10c3894576d14802a58781433956369c36 /lib/variables.c | |
| parent | db2f5cf15d00d3a2ee672cb662cf64025d588e33 (diff) | |
| download | efi-boot-shim-66a7b53677e297ac5be83945dd12ac80c947c6b3.tar.gz efi-boot-shim-66a7b53677e297ac5be83945dd12ac80c947c6b3.zip | |
shim: check_db_cert_in_ram(): clear openssl errors /before/ returning.
Covscan says:
455 if (IsFound) {
456 tpm_measure_variable(dbname, guid, CertSize, Cert->SignatureData);
457 return DATA_FOUND;
CID 182850 (#1 of 1): Structurally dead code (UNREACHABLE)unreachable: This code cannot be reached: drain_openssl_errors();.
458 drain_openssl_errors();
459 } else {
460 LogError(L"AuthenticodeVerify(): %d\n", IsFound);
461 }
And, well... woops.
Signed-off-by: Peter Jones <pjones@redhat.com>
Diffstat (limited to 'lib/variables.c')
0 files changed, 0 insertions, 0 deletions
