diff --git a/cgo_go122.go b/cgo_go122.go deleted file mode 100644 index ba6abde2..00000000 --- a/cgo_go122.go +++ /dev/null @@ -1,19 +0,0 @@ -//go:build go1.22 && !cmd_go_bootstrap - -package openssl - -/* -// The following noescape and nocallback directives are used to -// prevent the Go compiler from allocating function parameters on the -// heap. This is just a performance optimization. Only add those -// functions that are known to allocate. -#cgo noescape go_openssl_EVP_PKEY_derive -#cgo nocallback go_openssl_EVP_PKEY_derive -#cgo noescape go_openssl_EVP_PKEY_get_raw_public_key -#cgo nocallback go_openssl_EVP_PKEY_get_raw_public_key -#cgo noescape go_openssl_EVP_PKEY_get_raw_private_key -#cgo nocallback go_openssl_EVP_PKEY_get_raw_private_key -#cgo noescape go_openssl_EVP_DigestSign -#cgo nocallback go_openssl_EVP_DigestSign -*/ -import "C"