Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions wolfcrypt/src/asn.c
Original file line number Diff line number Diff line change
Expand Up @@ -32932,6 +32932,7 @@ WC_MAYBE_UNUSED static int EncodeBasicOcspResponse(OcspResponse* resp,
if (ret == 0) {
SetASN_OID(&dataASN[OCSPBASICRESPASN_IDX_SIGALGO_OID], resp->sigOID,
oidSigType);
#ifdef WC_RSA_PSS
if (resp->sigParams != NULL && resp->sigParamsSz != 0) {
SetASN_Buffer(&dataASN[OCSPBASICRESPASN_IDX_SIGNATURE_PARAMS],
resp->sigParams, resp->sigParamsSz);
Expand All @@ -32941,6 +32942,7 @@ WC_MAYBE_UNUSED static int EncodeBasicOcspResponse(OcspResponse* resp,
OCSPBASICRESPASN_IDX_SIGNATURE_PARAMS,
ocspBasicRespASN_Length);
}
#endif
if (resp->cert != NULL && resp->certSz > 0) {
SetASN_Buffer(&dataASN[OCSPBASICRESPASN_IDX_CERTS_SEQ],
resp->cert, resp->certSz);
Expand Down
Loading