returnc.Err("max_certs must be a positive integer")
}
ifonDemandMaxIssue==0||int32(maxCertsNum)<onDemandMaxIssue{// keep the minimum; TODO: We have to do this because it is global; should be per-server or per-vhost...
onDemandMaxIssue=int32(maxCertsNum)
}
config.OnDemandState.MaxObtain=int32(maxCertsNum)
}
// don't try to load certificates unless we're supposed to