| commit | 4a904c23cb82ba3a601d5238543d7d68057bcfd4 | [log] [tgz] |
|---|---|---|
| author | James Bottomley <James.Bottomley@HansenPartnership.com> | Wed Jul 01 15:33:30 2020 -0700 |
| committer | James Bottomley <James.Bottomley@HansenPartnership.com> | Wed Jul 01 15:35:05 2020 -0700 |
| tree | 84cd5929b3ce63c1903056b0e4634d42b3d4cdeb | |
| parent | a7a076bebf4ce3fb78cd54791ec5705948178474 [diff] |
Fix non-existent public key/cert problem Right at the moment the token library segfaults if the public key isn't found. This is because the serial number gets set to NULL and the ATTRIB macro tries to do strlen(NULL). Fix this, but also ensure that any failure to load the public key/cert results in the token being removed from the exported list. Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>