Home | History | Annotate | Download | only in runner

Lines Matching full:nil

23 // The configuration config must be non-nil and must have
33 // The config cannot be nil: users must set either ServerHostname or
51 if err != nil {
60 // The configuration config must be non-nil and must have
71 // The configuration config must be non-nil and must have
74 if config == nil || len(config.Certificates) == 0 {
75 return nil, errors.New("tls.Listen: no certificates in configuration")
78 if err != nil {
79 return nil, err
81 return NewListener(l, config), nil
95 // DialWithDialer interprets a nil configuration as equivalent to the zero
120 if err != nil {
121 return nil, err
130 if config == nil {
154 if err != nil {
156 return nil, err
159 return conn, nil
165 // Dial interprets a nil configuration as equivalent to
176 if err != nil {
180 if err != nil {
192 if certDERBlock == nil {
208 if keyDERBlock == nil {
218 if err != nil {
225 if err != nil {
263 if key, err := x509.ParsePKCS1PrivateKey(der); err == nil {
264 return key, nil
266 if key, err := x509.ParsePKCS8PrivateKey(der); err == nil {
269 return key, nil
271 return nil, errors.New("crypto/tls: found unknown private key type in PKCS#8 wrapping")
274 if key, err := x509.ParseECPrivateKey(der); err == nil {
275 return key, nil
278 return nil, errors.New("crypto/tls: failed to parse private key")