tdb break, try revert
This commit is contained in:
parent
05d6e27c69
commit
f1d7d79c24
|
@ -168,13 +168,10 @@ static void vmGenerateVnodeCfg(SCreateVnodeReq *pCreate, SVnodeCfg *pCfg) {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(TD_ENTERPRISE)
|
#if defined(TD_ENTERPRISE)
|
||||||
/*
|
|
||||||
pCfg->tdbEncryptAlgorithm = pCreate->encryptAlgorithm;
|
pCfg->tdbEncryptAlgorithm = pCreate->encryptAlgorithm;
|
||||||
if(pCfg->tdbEncryptAlgorithm == DND_CA_SM4){
|
if(pCfg->tdbEncryptAlgorithm == DND_CA_SM4){
|
||||||
strncpy(pCfg->tdbEncryptKey, tsEncryptKey, ENCRYPT_KEY_LEN);
|
strncpy(pCfg->tdbEncryptKey, tsEncryptKey, ENCRYPT_KEY_LEN);
|
||||||
}
|
}
|
||||||
*/
|
|
||||||
pCfg->tdbEncryptAlgorithm = 0;
|
|
||||||
#else
|
#else
|
||||||
pCfg->tdbEncryptAlgorithm = 0;
|
pCfg->tdbEncryptAlgorithm = 0;
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue