aboutsummaryrefslogtreecommitdiff
path: root/vendor/github.com/mtrmac/gpgme/unset_agent_info_windows.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/mtrmac/gpgme/unset_agent_info_windows.go')
-rw-r--r--vendor/github.com/mtrmac/gpgme/unset_agent_info_windows.go14
1 files changed, 0 insertions, 14 deletions
diff --git a/vendor/github.com/mtrmac/gpgme/unset_agent_info_windows.go b/vendor/github.com/mtrmac/gpgme/unset_agent_info_windows.go
deleted file mode 100644
index 431ec86d3..000000000
--- a/vendor/github.com/mtrmac/gpgme/unset_agent_info_windows.go
+++ /dev/null
@@ -1,14 +0,0 @@
-package gpgme
-
-// #include <stdlib.h>
-import "C"
-import (
- "unsafe"
-)
-
-// unsetenv is not available in mingw
-func unsetenvGPGAgentInfo() {
- v := C.CString("GPG_AGENT_INFO=")
- defer C.free(unsafe.Pointer(v))
- C.putenv(v)
-}