Loading crypto/ec/ec_key.c +3 −1 Original line number Diff line number Diff line Loading @@ -399,8 +399,9 @@ int EC_KEY_set_public_key_affine_coordinates(EC_KEY *key, BIGNUM *x, } ctx = BN_CTX_new(); if (ctx == NULL) goto err; return 0; BN_CTX_start(ctx); point = EC_POINT_new(key->group); if (point == NULL) Loading Loading @@ -455,6 +456,7 @@ int EC_KEY_set_public_key_affine_coordinates(EC_KEY *key, BIGNUM *x, ok = 1; err: BN_CTX_end(ctx); BN_CTX_free(ctx); EC_POINT_free(point); return ok; Loading Loading
crypto/ec/ec_key.c +3 −1 Original line number Diff line number Diff line Loading @@ -399,8 +399,9 @@ int EC_KEY_set_public_key_affine_coordinates(EC_KEY *key, BIGNUM *x, } ctx = BN_CTX_new(); if (ctx == NULL) goto err; return 0; BN_CTX_start(ctx); point = EC_POINT_new(key->group); if (point == NULL) Loading Loading @@ -455,6 +456,7 @@ int EC_KEY_set_public_key_affine_coordinates(EC_KEY *key, BIGNUM *x, ok = 1; err: BN_CTX_end(ctx); BN_CTX_free(ctx); EC_POINT_free(point); return ok; Loading