openssl / openssl/openssl

horrible X509_NAME_hash synopsis

Open
#14,712 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Manual pages X509_NAME_hash_ex describes new synopsis.

  1. Synopsis section mention "Deprecated since OpenSSL 3.0:".
    This does not follow convention used on other pages - separate section.
    As is written deprecation is ambiguous - look like all until end is deprecated.

  2. Using macro to deprecate ...
    What funny invention!
    In such context macro could be used for compatibility but not for deprecation.
    The defect is use of macro instead of function annotated as deprecated.

  3. Synopsis of X509_NAME_hash_ex
    Unwritten "C" rule indicate error is function return value.
    The design defect is that newly added function does not use such syntax and returns error in argument.
    Request is to redesign function to match "C" practice.

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 X509_NAME_hash_ex manual page and its synopsis, then inspect the named function declaration and implementation. Resolve the deprecation presentation and redesign the error-return convention to match the requested C practice, updating the synopsis to reflect the resulting API.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
cryptography, documentation
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.