change func to inline func

This commit is contained in:
sqyyeah
2021-01-11 14:55:25 +08:00
parent 8c76b36ad1
commit f249a90a15

View File

@ -272,7 +272,7 @@ static GS_UCHAR* DecodeClientKey(StringInfo cahome)
return plainpwd;
}
static void CleanCertInfo(StringInfo str)
static inline void CleanCertInfo(StringInfo str)
{
errno_t rc = memset_s(str->data, str->len, 0, str->len);
securec_check(rc, "\0", "\0");