if (type == NID_sha1 || type == NID_md5)
{
- memset(hashBuffer, keyLength+1, 0);
+ memset(hashBuffer, 0, keyLength+1);
OPENSSL_free(hashBuffer);
}
if (type == NID_sha1 || type == NID_md5)
{
- memset(hashBuffer, keyLength+1, 0);
+ memset(hashBuffer, 0, keyLength+1);
OPENSSL_free(hashBuffer);
}
#ifdef ENGINE_DYNAMIC_SUPPORT
static int bind_fn(ENGINE *e, const char *id)
{
- if(id && (strcmp(id, engine_cswift_id) != 0))
+ if(id && (strcmp(id, engine_4758_cca_id) != 0))
return 0;
if(!bind_helper(e))
return 0;