From 72cd24ac134e045dce995fdb41cc065201946b21 Mon Sep 17 00:00:00 2001 From: David Lawrence Date: Sat, 7 Nov 2015 16:10:01 -0800 Subject: [PATCH] explicit return in yubikeystore.AddKey to see if interface typing is causing weird behaviour Signed-off-by: David Lawrence (github: endophage) --- signer/api/ecdsa_hardware_crypto_service.go | 1 + 1 file changed, 1 insertion(+) diff --git a/signer/api/ecdsa_hardware_crypto_service.go b/signer/api/ecdsa_hardware_crypto_service.go index ba6bc48bdf..fbc59e79bd 100644 --- a/signer/api/ecdsa_hardware_crypto_service.go +++ b/signer/api/ecdsa_hardware_crypto_service.go @@ -548,6 +548,7 @@ func (s *YubiKeyStore) AddKey(keyID, role string, privKey data.PrivateKey) error role: role, slotID: slot, } + return nil } return err }