Skip to content

Commit

Permalink
Merge pull request #162 from projectdiscovery/remove-unused-code
Browse files Browse the repository at this point in the history
fix errorutil import
  • Loading branch information
Mzack9999 authored Jan 19, 2023
2 parents cff21fc + 74f2ccf commit 6677754
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/tlsx/openssl/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"strings"

"github.com/projectdiscovery/gologger"
"github.com/projectdiscovery/utils/errors"
errorutil "github.com/projectdiscovery/utils/errors"
)

// AllCiphers
Expand Down Expand Up @@ -43,7 +43,7 @@ func parseSessionValue(line string) string {
}

// Wraps err2 over err1 even if err is nil
func Wrap(err1 errors.Error, err2 errors.Error) errors.Error {
func Wrap(err1 errorutil.Error, err2 errorutil.Error) errorutil.Error {
if err1 == nil {
return err2
}
Expand Down

0 comments on commit 6677754

Please sign in to comment.