Skip to content

Commit

Permalink
add debug functions
Browse files Browse the repository at this point in the history
  • Loading branch information
jeppeter committed Jan 8, 2025
1 parent 7054502 commit 0476cdd
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions osslsigncode.c
Original file line number Diff line number Diff line change
Expand Up @@ -4642,6 +4642,9 @@ static PKCS7 *create_new_signature(file_type_t type,
if (si == NULL){
return NULL; /* FAILED */
}
if (cparams->cert) {
DEBUG_X509(cparams->cert,"cert info");
}
DEBUG_PKCS7_SIGNER_INFO(si,"add cert");
DEBUG_I2D_PKCS7(sig,"sig add cert");
} else {
Expand Down Expand Up @@ -6369,6 +6372,8 @@ int main(int argc, char **argv)

DEBUG_I2D_PKCS7(sig,"before timestamp authenticate");

OSSL_DEBUG("options.addBlob %d options.nturl %d options.ntsurl %d",options.addBlob,options.nturl, options.ntsurl);

#ifdef ENABLE_CURL
/* add counter-signature/timestamp */
if (options.nturl && add_timestamp_authenticode(sig, &options))
Expand Down

0 comments on commit 0476cdd

Please sign in to comment.