Skip to content

Commit

Permalink
Merge pull request #8566 from rlipscombe/rl/fix-crl-issuer-fun-doc
Browse files Browse the repository at this point in the history
Fix: 'issuer_fun' takes {Fun, Term} tuple
  • Loading branch information
IngelaAndin authored Aug 5, 2024
2 parents 2d11368 + 530a916 commit e022245
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib/public_key/src/public_key.erl
Original file line number Diff line number Diff line change
Expand Up @@ -1722,11 +1722,12 @@ Available options:
fun(_DP, CRL) -> CRL end
```
- **\{issuer_fun, fun()\}** - The fun has the following type specification:
- **\{issuer_fun, \{fun(), UserState::term()\}\}** - The fun has the following type
specification:
```erlang
fun(#'DistributionPoint'{}, #'CertificateList'{},
{rdnSequence,[#'AttributeTypeAndValue'{}]}, term()) ->
{rdnSequence,[#'AttributeTypeAndValue'{}]}, UserState::term()) ->
{ok, #'OTPCertificate'{}, [der_encoded]}
```
Expand Down

0 comments on commit e022245

Please sign in to comment.