pkcs15: Fixed typo

This commit is contained in:
Andreas Schwier 2012-09-20 09:14:52 +02:00 committed by Viktor Tarasov
parent 02fe6d474b
commit 7b943b934b
1 changed files with 1 additions and 1 deletions

View File

@ -271,7 +271,7 @@ asn1_decode_ec_params(sc_context_t *ctx, void **paramp,
ecp = malloc(sizeof(struct sc_ec_params));
if (ecp == NULL)
return SC_ERROR_OUT_OF_MEMORY;
memset(ecp,9,sizeof(struct sc_ec_params));
memset(ecp,0,sizeof(struct sc_ec_params));
/* We only want to copy the parms if they are a namedCurve