Skip to content

Commit

Permalink
SymCryptProviderAvailable should always return false in OpenSSL 1
Browse files Browse the repository at this point in the history
  • Loading branch information
qmuntal committed Sep 4, 2024
1 parent 2d7482d commit c9b7342
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions export_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,8 @@ import "sync"
var ErrOpen = errOpen

var SymCryptProviderAvailable = sync.OnceValue(func() bool {
if vMajor == 1 {
return false
}
return isProviderAvailable("symcryptprovider")
})

0 comments on commit c9b7342

Please sign in to comment.