Skip to content

Commit 49ceaa7

Browse files
committed
removing sslcert + deps bump
1 parent fb9d1df commit 49ceaa7

File tree

7 files changed

+7
-199
lines changed

7 files changed

+7
-199
lines changed

go.mod

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,6 @@ go 1.15
55
require (
66
github.com/phayes/freeport v0.0.0-20180830031419-95f893ade6f2
77
github.com/projectdiscovery/gologger v1.1.4
8+
github.com/projectdiscovery/sslcert v0.0.0-20210416140253-8f56bec1bb5e
89
gopkg.in/yaml.v2 v2.4.0
910
)

go.sum

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZb
2525
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
2626
github.com/projectdiscovery/gologger v1.1.4 h1:qWxGUq7ukHWT849uGPkagPKF3yBPYAsTtMKunQ8O2VI=
2727
github.com/projectdiscovery/gologger v1.1.4/go.mod h1:Bhb6Bdx2PV1nMaFLoXNBmHIU85iROS9y1tBuv7T5pMY=
28+
github.com/projectdiscovery/sslcert v0.0.0-20210416140253-8f56bec1bb5e h1:IZa08TUGbU7I0HUb9QQt/8wuu2fPZqfnMXwWhtMxei8=
29+
github.com/projectdiscovery/sslcert v0.0.0-20210416140253-8f56bec1bb5e/go.mod h1:jSp8W5zIkNPxAqVdcoFlfv0K5cqogTe65fMinR0Fvuk=
2830
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
2931
github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI=
3032
github.com/stretchr/testify v1.7.0 h1:nwc3DEeHmmLAfoZucVR881uASk0Mfjw8xYJ99tb5CcY=

pkg/httpserver/httpserver.go

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
package httpserver
22

33
import (
4-
"net"
54
"net/http"
65

7-
"github.com/projectdiscovery/simplehttpserver/pkg/sslcert"
6+
"github.com/projectdiscovery/sslcert"
87
)
98

109
type Options struct {
@@ -22,9 +21,8 @@ type Options struct {
2221
}
2322

2423
type HTTPServer struct {
25-
options *Options
26-
layers http.Handler
27-
listener net.Listener
24+
options *Options
25+
layers http.Handler
2826
}
2927

3028
func New(options *Options) (*HTTPServer, error) {

pkg/sslcert/options.go

Lines changed: 0 additions & 21 deletions
This file was deleted.

pkg/sslcert/sslcert.go

Lines changed: 0 additions & 153 deletions
This file was deleted.

pkg/sslcert/tlsconfig.go

Lines changed: 0 additions & 19 deletions
This file was deleted.

pkg/tcpserver/tcpserver.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77
"time"
88

99
"github.com/projectdiscovery/gologger"
10-
"github.com/projectdiscovery/simplehttpserver/pkg/sslcert"
10+
"github.com/projectdiscovery/sslcert"
1111
"gopkg.in/yaml.v2"
1212
)
1313

0 commit comments

Comments
 (0)