first step of v2 final release

This commit is contained in:
Zhi Guan
2017-11-05 21:00:36 +08:00
parent 480b9e8d88
commit 27bde477a5
395 changed files with 26341 additions and 31364 deletions

View File

@@ -73,10 +73,12 @@ static char *sof_encode(const unsigned char *bin, unsigned int binlen)
return NULL;
}
#if 0
static int sof_decode(const char *b64, unsigned char **pdata, unsigned int *pdatalen)
{
return 0;
}
#endif
BSTR SOF_GetVersion(void)
{
@@ -459,7 +461,6 @@ BSTR SOF_GenRandom(short RandomLen)
char *ret = NULL;
char *b64 = NULL;
unsigned char *bin = NULL;
unsigned int b64len = (RandomLen * 4)/3 + 128;
int rv;
if (!(bin = OPENSSL_malloc(RandomLen))