diff --git a/cr_hsm_code.c b/cr_hsm_code.c index b784779..fff6cd3 100644 --- a/cr_hsm_code.c +++ b/cr_hsm_code.c @@ -143,15 +143,14 @@ M_ByteBlock *hsmBlobptr = NULL; M_KeyID hsmAeskeyid; const NFKM_KeyIdent hsmAeskeyident = { (char*)"simple", (char*)"aes-test-key" }; NFKM_Key *hsmAeskeyinfo = NULL; // allocate - -static int hsm_aes_load_key( void ); #else // !ENCRYPT_AES M_KeyID hsmRsaPrivkeyid, hsmRsaPubkeyid; const NFKM_KeyIdent hsmRsakeyident = { (char*)"simple", (char*)"rsa-priv-key-2048" }; NFKM_Key *hsmRsakeyinfo = NULL; // allocate +#endif // ENCRYPT_AES static int hsm_rsa_load_keypair( void ); -#endif // ENCRYPT_AES +static int hsm_aes_load_key( void ); // init HSM int hsm_initialize( void )