Initialise variable before jump.

Clang finds:

crypto/ec/ec.c:420:7: error: variable 'ok' is used uninitialized
whenever 'if' condition is true [-Werror,-Wsometimes-uninitialized]
  if (ctx == NULL) {
        ^~~~~~~~~~~

Change-Id: I33fc4d74ff3a3bd52ab155f8273fbcd9c6256e35
diff --git a/crypto/ec/ec.c b/crypto/ec/ec.c
index 788472b..cfca774 100644
--- a/crypto/ec/ec.c
+++ b/crypto/ec/ec.c
@@ -415,6 +415,7 @@
   EC_POINT *P = NULL;
   BIGNUM *p = NULL, *a = NULL, *b = NULL, *x = NULL, *y = NULL;
   const EC_METHOD *meth;
+  int ok = 0;
 
   BN_CTX *ctx = BN_CTX_new();
   if (ctx == NULL) {
@@ -426,7 +427,6 @@
   const unsigned param_len = data->param_len;
   const uint8_t *params = data->data;
 
-  int ok = 0;
   if (!(p = BN_bin2bn(params + 0 * param_len, param_len, NULL)) ||
       !(a = BN_bin2bn(params + 1 * param_len, param_len, NULL)) ||
       !(b = BN_bin2bn(params + 2 * param_len, param_len, NULL))) {