Skip to content

Commit 97aeb8d

Browse files
committed
fix errant deletion
1 parent 4888a60 commit 97aeb8d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

scep/options.go

+1
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ func (o *Options) Validate() error {
4040
case o.SkipValidation:
4141
return nil
4242
case len(o.Intermediates) == 0:
43+
return errors.New("no intermediate certificate available for SCEP authority")
4344
case o.SignerCert == nil:
4445
return errors.New("no signer certificate available for SCEP authority")
4546
}

0 commit comments

Comments
 (0)