Skip to content

Commit

Permalink
fix csr,selfsigned
Browse files Browse the repository at this point in the history
  • Loading branch information
salrashid123 committed Oct 16, 2021
1 parent 29b29e0 commit 14397a3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
2 changes: 1 addition & 1 deletion src/csr/csr.go
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,6 @@ func main() {
if err != nil {
glog.Fatalf("Could not write file %v", err)
}
glog.V(2).Infof("CSR written to: %s", pemCSRFile)
glog.V(2).Infof("CSR written to: %s", *pemCSRFile)

}
5 changes: 0 additions & 5 deletions src/selfsigned/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -168,11 +168,6 @@ func main() {
fmt.Printf("======= Key persisted ========\n")
fmt.Printf("======= Creating x509 Certificate ========\n")

if err := rwc.Close(); err != nil {
fmt.Fprintf(os.Stderr, "can't close TPM %s: %v", *tpmPath, err)
os.Exit(1)
}

// https://raw.githubusercontent.com/salrashid123/signer/master/certgen/certgen.go

var notBefore time.Time
Expand Down

0 comments on commit 14397a3

Please sign in to comment.