Skip to content

const XXX_{up,down}_ref ? #13796

@richsalz

Description

@richsalz

As dicussed in #13788, OpenSSL sometimes uses const in its API, but then casts it away internally. The const indicates that the it's logically constant.

The project should consider making the object pointers in all the up_ref/down_ref function be const and then internally cast it away. See X509_cmp() for an example.

Metadata

Metadata

Assignees

No one assigned

    Labels

    triaged: featureThe issue/pr requests/adds a feature

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions