You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There seems to be an issue with the @type extension_id definition in X509.Certificate.Extension. Specifically, the atom :crl_distribution_point is used in the type, but it should be :crl_distribution_points.
The function call will not succeed.
X509.Certificate.Extension.find(_cert_extensions :: [any()], :crl_distribution_points)
breaks the contract
([t()], extension_id() | :public_key.oid()) :: t() | nil
Proposed Solution
Update the @type extension_id in X509.Certificate.Extension to include :crl_distribution_points instead of :crl_distribution_point.
The text was updated successfully, but these errors were encountered:
DavidGonzalezPineiro
changed the title
Incorrect @type extension_id in X509.Certificate.Extension
Incorrect type extension_id in X509.Certificate.Extension
Dec 17, 2024
Description
There seems to be an issue with the
@type extension_id
definition inX509.Certificate.Extension
. Specifically, the atom:crl_distribution_point
is used in the type, but it should be:crl_distribution_points
.This causes Dialyzer to fail when calling:
The error reported by Dialyzer is as follows:
Proposed Solution
Update the
@type extension_id
inX509.Certificate.Extension
to include:crl_distribution_points
instead of:crl_distribution_point
.The text was updated successfully, but these errors were encountered: