Skip to content

Commit

Permalink
fix call
Browse files Browse the repository at this point in the history
  • Loading branch information
qmuntal committed Dec 5, 2024
1 parent 6202ba4 commit cc1778e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion init.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ func opensslInit(file string) (major, minor, patch uint, err error) {
// version it contains.
imajor := ossl.Go_openssl_version_major(handle)
iminor := ossl.Go_openssl_version_minor(handle)
ipatch := ossl.Go_openssl_version_minor(handle)
ipatch := ossl.Go_openssl_version_patch(handle)
if imajor < 0 || iminor < 0 || ipatch < 0 {
return 0, 0, 0, errors.New("openssl: can't retrieve OpenSSL version")
}
Expand Down

0 comments on commit cc1778e

Please sign in to comment.