Skip to content

Commit

Permalink
Fix: 'issuer_fun' takes {Fun, Term} tuple
Browse files Browse the repository at this point in the history
  • Loading branch information
rlipscombe committed Jun 12, 2024
1 parent 0b1bab2 commit b6b28f5
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(), Args::term()\}\}** - The fun has the following type
specification:
```erlang
fun(#'DistributionPoint'{}, #'CertificateList'{},
{rdnSequence,[#'AttributeTypeAndValue'{}]}, term()) ->
{rdnSequence,[#'AttributeTypeAndValue'{}]}, Args::term()) ->
{ok, #'OTPCertificate'{}, [der_encoded]}
```
Expand Down

0 comments on commit b6b28f5

Please sign in to comment.