Skip to content

Commit

Permalink
fix(core): Mask additional certificate verification statuscodes in th…
Browse files Browse the repository at this point in the history
…e ERR response
  • Loading branch information
jpfr committed Nov 25, 2024
1 parent f42c264 commit 06f3e3d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/ua_securechannel.c
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,8 @@ hideErrors(UA_TcpErrorMessage *const error) {
case UA_STATUSCODE_BADCERTIFICATEUNTRUSTED:
case UA_STATUSCODE_BADCERTIFICATEREVOKED:
case UA_STATUSCODE_BADCERTIFICATEISSUERREVOKED:
case UA_STATUSCODE_BADCERTIFICATECHAININCOMPLETE:
case UA_STATUSCODE_BADCERTIFICATEISSUERUSENOTALLOWED:
error->error = UA_STATUSCODE_BADSECURITYCHECKSFAILED;
error->reason = UA_STRING_NULL;
break;
Expand Down

0 comments on commit 06f3e3d

Please sign in to comment.