... | ... |
@@ -1024,6 +1024,10 @@ static int asn1_get_x509(fmap_t *map, const void **asn1data, unsigned int *size, |
1024 | 1024 |
break; |
1025 | 1025 |
} |
1026 | 1026 |
|
1027 |
+ if (!x509.certSign && !x509.codeSign && !x509.timeSign) { |
|
1028 |
+ cli_dbgmsg("asn1_get_x509: encountered a certificate with no cert, code, or time signing capabilities\n"); |
|
1029 |
+ } |
|
1030 |
+ |
|
1027 | 1031 |
|
1028 | 1032 |
if(crtmgr_lookup(master, &x509) || crtmgr_lookup(other, &x509)) { |
1029 | 1033 |
cli_dbgmsg("asn1_get_x509: certificate already exists\n"); |