openssl / openssl/openssl

d2i_* manpage suggests {i2d,d2i}_ASN_*_bio functions that don't exist.

Open
#31,416 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

triaged: question
Dominant language
C
Stars
30.8k
Forks
11.5k
Avg merge
10m
Merged PRs (30d)
1

Description

I'm not sure if this is a code or a documentation issue, but there definitely is a discrepancy.

The documentation of d2i_* suggests that all ASN1 datatypes have d2i_ASN1_*_bio and i2d_ASN1_*_bio functions, but they don't seem to exist. I guess they probably should and this is an oversight? (and probably the same issue exists for the *_fp variants).

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the d2i_X509 manpage linked in the issue and compare its listed d2i_ASN1_bio and i2d_ASN1_bio functions with the available C API declarations. Confirm whether the discrepancy is in the documentation or the API, then ensure the manpage accurately reflects the supported functions, including the *_fp variants.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
cryptography, documentation
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.