[libcrypto-compat] fix update error.