Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for bogoShim (0.1 sec)

  1. src/crypto/tls/bogo_shim_test.go

    	return f
    }
    
    func (saf stringSlice) String() string {
    	return strings.Join(saf, ",")
    }
    
    func (saf stringSlice) Set(s string) error {
    	saf = append(saf, s)
    	return nil
    }
    
    func bogoShim() {
    	if *isHandshakerSupported {
    		fmt.Println("No")
    		return
    	}
    
    	cfg := &Config{
    		ServerName: "test",
    
    		MinVersion: uint16(*minVersion),
    		MaxVersion: uint16(*maxVersion),
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 17:25:39 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  2. src/crypto/tls/handshake_test.go

    	flag.Usage = func() {
    		fmt.Fprintf(flag.CommandLine.Output(), "Usage of %s:\n", os.Args)
    		flag.PrintDefaults()
    		if *bogoMode {
    			os.Exit(89)
    		}
    	}
    
    	flag.Parse()
    
    	if *bogoMode {
    		bogoShim()
    		os.Exit(0)
    	}
    
    	os.Exit(runMain(m))
    }
    
    func runMain(m *testing.M) int {
    	// Cipher suites preferences change based on the architecture. Force them to
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 24.5K bytes
    - Viewed (0)
Back to top