瀏覽代碼

fixed comment

Signed-off-by: Matthew R. Kasun <[email protected]>
Matthew R. Kasun 3 年之前
父節點
當前提交
1cbbd52e7d
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      controllers/server.go

+ 1 - 1
controllers/server.go

@@ -213,7 +213,7 @@ func genCerts(clientKey *ed25519.PrivateKey, name *pkix.Name) (*x509.Certificate
 	return cert, ca, nil
 }
 
-// genCerts generates a client certificate using calls to openssl and returns the certificate and root CA
+// genOpenSSLCerts generates a client certificate using calls to openssl and returns the certificate and root CA
 func genOpenSSLCerts(key *ed25519.PrivateKey, name *pkix.Name) (*x509.Certificate, *x509.Certificate, error) {
 	if err := tls.SaveKey("/tmp/", "client.key", *key); err != nil {
 		return nil, nil, fmt.Errorf("failed to store client key %w", err)