Skip to content

Commit

Permalink
Merge pull request #71 from patrickhener/fix-static-value
Browse files Browse the repository at this point in the history
remove static value
  • Loading branch information
patrickhener authored Jul 5, 2024
2 parents 88c2484 + 3d8b386 commit 4947af8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion httpserver/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ func (fs *FileServer) Start(what string) {
var fingerprint256, fingerprint1 string

if fs.MyP12 != "" {
p12, err := os.ReadFile("cert.p12")
p12, err := os.ReadFile(fs.MyP12)
if err != nil {
logger.Fatalf("Error reading pkcs12 file: %+v", err)
}
Expand Down

0 comments on commit 4947af8

Please sign in to comment.