"DH_up" had been changed to "DH_up_ref" in libeay.num but the function