Skip to content

Deprecate the "print" functions, especially the undocumented ones. #1898

@bob-beck

Description

@bob-beck

We have a lot of SOMETHING_print and related functions in the libraries.

Many are undocumented, and of those, there's really one user (apps).

As what these print is basically a bespoke thing, and not documented in any way, this
functionality really does not belong in the library - it belongs in the thing that cares about it,
which is the app.

With possibly a few necessary exceptions (which must be documented) Rather than keep these as undocumented "can't touch this" stuff in libcrypto and libssl, these should be deprecated from the library, and moved to the apps library. This may entail ensuring that accessors for opaque types are present so that API
is available so that these functions may be implemented outside of the library, rather than needing to
call internal functions (necessitating these being in the library).

Ideally, the library probably should not have "print" functions in general.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

Status

Pre-Refinement

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions