mirror of
https://github.com/containers/skopeo.git
synced 2025-09-21 18:09:08 +00:00
See release notes: https://github.com/containers/image/releases/tag/v5.2.0 Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
15 lines
222 B
Go
15 lines
222 B
Go
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)
|
|
}
|