src/p11_ec.c: check OPENSSL_NO_EC earlier (#164)
src/p11_ec.c: check OPENSSL_NO_EC earlier (#164)

Function compute_key_fn uses types EC_POINT and EC_KEY which are defined
in ec.h. If OPENSSL_NO_EC is defined, no header file ec.h exists and
causes compile errors.

../../git/src/p11_ec.c:45:8: error: unknown type name 'EC_POINT'
  const EC_POINT *, const EC_KEY *,
        ^~~~~~~~
../../git/src/p11_ec.c:45:26: error: unknown type name 'EC_KEY'
  const EC_POINT *, const EC_KEY *,
                          ^~~~~~
So check OPENSSL_NO_EC earlier in src/p11_ec.c.

Signed-off-by: Kai Kang <12cd79c4a5e843cb1f0f6ae2d45a5336990c82a6@windriver.com>
dengert/libp11,mouse07410/libp11,mtrojnar/libp11,OpenSC/libp11,OpenSC/libp11,dengert/libp11,mtrojnar/libp11,mouse07410/libp11