Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestCertPoolEqual (0.14 sec)

  1. src/crypto/x509/cert_pool_test.go

    // Copyright 2022 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package x509
    
    import "testing"
    
    func TestCertPoolEqual(t *testing.T) {
    	tc := &Certificate{Raw: []byte{1, 2, 3}, RawSubject: []byte{2}}
    	otherTC := &Certificate{Raw: []byte{9, 8, 7}, RawSubject: []byte{8}}
    
    	emptyPool := NewCertPool()
    	nonSystemPopulated := NewCertPool()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 13 18:06:43 UTC 2022
    - 2.3K bytes
    - Viewed (0)
Back to top