[chainmaker][#436]add the macro definition
#include "boatwallet.h"
#include "protocolapi/api_chainmaker.h"
-char chainmaker_sign_key_buf[1024];
-char chainmaker_sign_cert_buf[1024];
-char chainmaker_ca_cert_buf[1024];
+#define CERT_PRIKEY_LEN 1024
+
+char chainmaker_sign_key_buf[CERT_PRIKEY_LEN];
+char chainmaker_sign_cert_buf[CERT_PRIKEY_LEN];
+char chainmaker_ca_cert_buf[CERT_PRIKEY_LEN];
