I'm running OpenSSL 0.9.8e. If I set up an ECDSA verify with EC_KEY_new_by_curve_name(NID_X9_62_prime256v1) and call ECDSA_do_verify with dgst (first arg) an array of all zeros and dgst=1 (second arg), the call fails with error 16.
There are two errors in the queue: lib 16 reason 68 location ec_mult.c:219 lib 42 reason 16 location ecs_ossl.c:420
