Fix cut/paste error

Was memset with wrong sizeof.

Reviewed-by: Richard Levitte <levitte@openssl.org>
This commit is contained in:
Rich Salz 2015-05-04 10:34:51 -04:00 committed by Rich Salz
parent b6d3cb543c
commit 23b0fa5ab6

View File

@ -169,7 +169,7 @@ X509_VERIFY_PARAM *X509_VERIFY_PARAM_new(void)
OPENSSL_free(param);
return NULL;
}
memset(param, 0, sizeof *paramid);
memset(param, 0, sizeof *param);
memset(paramid, 0, sizeof *paramid);
param->id = paramid;
x509_verify_param_zero(param);