(d *caddyfile.Dispenser)
| 806 | } |
| 807 | |
| 808 | func (scp *SystemCAPool) UnmarshalCaddyfile(d *caddyfile.Dispenser) error { |
| 809 | d.Next() // consume module name |
| 810 | if d.CountRemainingArgs() > 0 { |
| 811 | return d.ArgErr() |
| 812 | } |
| 813 | if d.NextBlock(0) { |
| 814 | return d.Err("system trust pool does not support any configuration") |
| 815 | } |
| 816 | return nil |
| 817 | } |
| 818 | |
| 819 | // CertPool implements CA. |
| 820 | func (scp SystemCAPool) CertPool() *x509.CertPool { |