From cc1778e7edd7731930a7437c4537e9e9b626dd4b Mon Sep 17 00:00:00 2001 From: qmuntal Date: Thu, 5 Dec 2024 18:00:01 +0100 Subject: [PATCH] fix call --- init.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init.go b/init.go index 9a2d0316..6cff3fa5 100644 --- a/init.go +++ b/init.go @@ -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") }