set initial buffer size

This commit is contained in:
Jacob Barthelmeh
2019-03-04 16:33:05 -07:00
parent 494e469dd2
commit 788443d3cf

View File

@ -32260,7 +32260,7 @@ void* wolfSSL_GetDhAgreeCtx(WOLFSSL* ssl)
int wolfSSL_OBJ_txt2nid(const char* s)
{
int ret;
unsigned int outSz = 0;
unsigned int outSz = MAX_OID_SZ;
unsigned char out[MAX_OID_SZ];
WOLFSSL_ENTER("OBJ_txt2nid");