check ecc key return, fix null pointer crash
1 file changed