mirror of https://github.com/docker/docs.git
add build tag files for pkcs11 dlopen lib
Signed-off-by: Jessica Frazelle <acidburn@docker.com> Signed-off-by: David Lawrence <david.lawrence@docker.com> Signed-off-by: Jessica Frazelle <acidburn@docker.com> (github: endophage)
This commit is contained in:
parent
af1bf0c1d5
commit
913c5ef033
|
|
@ -22,7 +22,6 @@ import (
|
|||
)
|
||||
|
||||
const (
|
||||
pkcs11Lib = "/usr/local/lib/libykcs11.so"
|
||||
USER_PIN = "123456"
|
||||
SO_USER_PIN = "010203040506070801020304050607080102030405060708"
|
||||
)
|
||||
|
|
|
|||
|
|
@ -0,0 +1,12 @@
|
|||
// +build pkcs11,darwin
|
||||
|
||||
package api
|
||||
|
||||
var (
|
||||
pkcs11Lib = "/usr/local/lib/libykcs11.dylib"
|
||||
)
|
||||
|
||||
func init() {
|
||||
// TODO(diogomonica): all the crap for darwin to configure
|
||||
// the variable pkcs11 to find the right one in the right dir
|
||||
}
|
||||
|
|
@ -0,0 +1,12 @@
|
|||
// +build pkcs11,linux
|
||||
|
||||
package api
|
||||
|
||||
var (
|
||||
pkcs11Lib = "/usr/local/lib/libykcs11.so"
|
||||
)
|
||||
|
||||
func init() {
|
||||
// TODO(diogomonica): all the crap for linux to configure
|
||||
// the variable pkcs11 to find the right one in the right dir
|
||||
}
|
||||
Loading…
Reference in New Issue