Skip to content

Missing const in documentation? #31169

Closed
Closed

Description

@SmallLars

https://docs.openssl.org/3.6/man3/PEM_read_bio_PrivateKey
This site contains int PEM_write_bio_X509(BIO *bp, X509 *x);.
In fact it is const X509* x since OpenSSL 3.0.
I also try to find the definition in code. Hope this is the right place:

#define PEM_write_fnsig(name, type, OUTTYPE, writename) \
    int PEM_##writename##_##name(OUTTYPE *out, const type *x)

Not sure if there are other locations where const is missing too.

Activity

  1. added
    issue: documentation
    on May 13, 2026
  2. added
    triaged: documentation
    on Jun 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    issue: documentationtriaged: documentation

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions