Skip to content

Commit 478acc7

Browse files
committed
spelling fixes
1 parent e19018d commit 478acc7

3 files changed

Lines changed: 29 additions & 5 deletions

File tree

.cspell.json

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,20 +7,44 @@
77
"language": "en",
88
// words - list of words to be always considered correct
99
"words": [
10+
"bootstrapcdn",
1011
"Buildx",
1112
"censys",
1213
"certgraph",
14+
"certwatch",
15+
"cloudflaressl",
1316
"crtsh",
17+
"dragended",
18+
"dragenter",
19+
"dragleave",
20+
"dragover",
21+
"dragstarted",
1422
"elif",
23+
"eligrey",
24+
"fastly",
25+
"Filemodal",
1526
"GOARCH",
1627
"godoc",
1728
"golangci",
1829
"GOPROXY",
1930
"goreleaser",
31+
"hostnames",
32+
"ILIKE",
33+
"jquery",
2034
"ldflags",
35+
"linkify",
36+
"maxcdn",
37+
"myconstants",
2138
"NOHOST",
39+
"Pastemodal",
40+
"plainto",
41+
"rawgit",
2242
"serv",
23-
"trimpath"
43+
"sslmode",
44+
"stylesheet",
45+
"trimpath",
46+
"Trys",
47+
"tsquery"
2448
],
2549
// flagWords - list of words to be always considered incorrect
2650
// This is useful for offensive words and common spelling errors.

driver/crtsh/crtsh.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
//
55
// As the API is unofficial and has been reverse engineered it may stop working
66
// at any time and comes with no guarantees.
7-
// view SQL excample: https://crt.sh/?showSQL=Y&exclude=expired&q=
7+
// view SQL example: https://crt.sh/?showSQL=Y&exclude=expired&q=
88
package crtsh
99

1010
import (
@@ -17,7 +17,7 @@ import (
1717
"github.com/lanrat/certgraph/driver"
1818
"github.com/lanrat/certgraph/fingerprint"
1919
"github.com/lanrat/certgraph/status"
20-
_ "github.com/lib/pq" // portgresql
20+
_ "github.com/lib/pq"
2121
)
2222

2323
const connStr = "postgresql://guest@crt.sh/certwatch?sslmode=disable&fallback_application_name=certgraph&binary_parameters=yes"
@@ -159,7 +159,7 @@ func (d *crtsh) QueryDomain(domain string) (driver.Result, error) {
159159
baseDelay := 100 * time.Millisecond
160160

161161
for try < 5 {
162-
// this is a hack while crt.sh gets there stuff togeather
162+
// this is a hack while crt.sh gets there stuff together
163163
try++
164164
if debug {
165165
log.Printf("QueryDomain try %d: %s", try, queryStr)

graph/graph.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ func (graph *CertGraph) AddCert(certNode *CertNode) {
3434
// AddDomain add a DomainNode to the graph
3535
func (graph *CertGraph) AddDomain(domainNode *DomainNode) {
3636
atomic.AddInt64(&graph.numDomains, 1)
37-
// save the new maximum depth if greather then current
37+
// save the new maximum depth if greater then current
3838
if domainNode.Depth > graph.depth {
3939
graph.depth = domainNode.Depth
4040
}

0 commit comments

Comments
 (0)