8000 CI: add check for returning S2N_FAILURE and S2N_RESULT_ERROR · Issue #3799 · aws/s2n-tls · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
CI: add check for returning S2N_FAILURE and S2N_RESULT_ERROR #3799
Open
@camshaft

Description

@camshaft

Problem:

Functions should only be using {POSIX,RESULT}_BAIL to return errors from functions. Without these macros, the s2n_errno variable will not be updated to something sensible and the error becomes more difficult to diagnose.

Solution:

This should be checked in our simple mistakes script. Should be as easy as searching for return S2N_FAILURE and return S2N_RESULT_ERROR.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0