diff --git a/source/dnode/mgmt/mgmt_vnode/src/vmHandle.c b/source/dnode/mgmt/mgmt_vnode/src/vmHandle.c index 858cf23309..c179d0748d 100644 --- a/source/dnode/mgmt/mgmt_vnode/src/vmHandle.c +++ b/source/dnode/mgmt/mgmt_vnode/src/vmHandle.c @@ -168,10 +168,13 @@ static void vmGenerateVnodeCfg(SCreateVnodeReq *pCreate, SVnodeCfg *pCfg) { #endif #if defined(TD_ENTERPRISE) + /* pCfg->tdbEncryptAlgorithm = pCreate->encryptAlgorithm; if(pCfg->tdbEncryptAlgorithm == DND_CA_SM4){ strncpy(pCfg->tdbEncryptKey, tsEncryptKey, ENCRYPT_KEY_LEN); } + */ + pCfg->tdbEncryptAlgorithm = 0; #else pCfg->tdbEncryptAlgorithm = 0; #endif