This repository was archived by the owner on Sep 12, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 7 files changed +3
-3
lines changed
Expand file tree Collapse file tree 7 files changed +3
-3
lines changed File renamed without changes.
Original file line number Diff line number Diff line change @@ -1043,7 +1043,7 @@ func TestTPMPublicCertFile(t *testing.T) {
10431043 _ , _ = flushContextCmd .Execute (rwr )
10441044 }()
10451045
1046- pubPEMData , err := os .ReadFile ("example/certs/server.crt" )
1046+ pubPEMData , err := os .ReadFile ("../ example/certs/server.crt" )
10471047 require .NoError (t , err )
10481048
10491049 block , _ := pem .Decode (pubPEMData )
@@ -1055,7 +1055,7 @@ func TestTPMPublicCertFile(t *testing.T) {
10551055 conf := TPM {
10561056 TpmDevice : tpmDevice ,
10571057 Handle : rsaKeyResponse .ObjectHandle ,
1058- PublicCertFile : "example/certs/server.crt" ,
1058+ PublicCertFile : "../ example/certs/server.crt" ,
10591059 }
10601060
10611061 tpm , err := NewTPMCrypto (& conf )
@@ -1102,7 +1102,7 @@ func TestTPMX509(t *testing.T) {
11021102 _ , _ = flushContextCmd .Execute (rwr )
11031103 }()
11041104
1105- pubPEMData , err := os .ReadFile ("example/certs/server.crt" )
1105+ pubPEMData , err := os .ReadFile ("../ example/certs/server.crt" )
11061106 require .NoError (t , err )
11071107
11081108 block , _ := pem .Decode (pubPEMData )
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
You can’t perform that action at this time.
0 commit comments