openssl/crypto/ec
Daniel Bevenius ecd1550be9 Fix REF_PRINT_COUNT argument in ecx_key_free
Currently, when configuring OpenSSL using -DREF_PRINT the following
compilation error is generated:

In file included from include/crypto/ecx.h:21,
                 from crypto/ec/ecx_key.c:11:
crypto/ec/ecx_key.c: In function 'ecx_key_free':
crypto/ec/ecx_key.c:65:32: error: 'r' undeclared
(first use in this function)
   65 |     REF_PRINT_COUNT("ECX_KEY", r);
      |                                ^
include/internal/refcount.h:169:40: note: in definition of macro
'REF_PRINT_COUNT'
  169 |         fprintf(stderr, "%p:%4d:%s\n", b, b->references, a)
      |                                        ^
crypto/ec/ecx_key.c:65:32: note: each undeclared identifier is reported
only once for each function it appears in
   65 |     REF_PRINT_COUNT("ECX_KEY", r);
      |                                ^
include/internal/refcount.h:169:40: note: in definition of macro
'REF_PRINT_COUNT'
  169 |         fprintf(stderr, "%p:%4d:%s\n", b, b->references, a)
      |                                        ^
make[1]: *** [Makefile:14929: crypto/ec/libcrypto-lib-ecx_key.o] Error 1

This commit updates the argument passed in to be the ECX_KEY* key.

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/13298)
2020-11-10 13:00:27 +10:00
..
asm Fix: ecp_nistz256-armv4.S bad arguments 2020-09-20 14:21:15 +02:00
curve448 Update copyright year 2020-10-15 14:10:06 +01:00
build.info
curve25519.c Rename OPENSSL_CTX prefix to OSSL_LIB_CTX 2020-10-15 11:59:53 +01:00
ec2_oct.c
ec2_smpl.c
ec_ameth.c Rename OPENSSL_CTX prefix to OSSL_LIB_CTX 2020-10-15 11:59:53 +01:00
ec_asn1.c der: _ossl prefix DER functions 2020-10-01 11:25:12 +10:00
ec_backend.c Rename OPENSSL_CTX prefix to OSSL_LIB_CTX 2020-10-15 11:59:53 +01:00
ec_check.c
ec_ctrl.c EC: Reimplement EVP_PKEY_CTX_set_ec_param_enc() to support providers 2020-09-12 20:24:22 +02:00
ec_curve.c Rename OPENSSL_CTX prefix to OSSL_LIB_CTX 2020-10-15 11:59:53 +01:00
ec_cvt.c Rename some occurrences of 'library_context' and 'lib_ctx' to 'libctx' 2020-10-15 12:00:21 +01:00
ec_err.c Prune low-level ASN.1 parse errors from error queue in decoder_process() 2020-09-24 14:34:56 +02:00
ec_key.c Rename OPENSSL_CTX prefix to OSSL_LIB_CTX 2020-10-15 11:59:53 +01:00
ec_kmeth.c Rename OPENSSL_CTX prefix to OSSL_LIB_CTX 2020-10-15 11:59:53 +01:00
ec_lib.c Rename OPENSSL_CTX prefix to OSSL_LIB_CTX 2020-10-15 11:59:53 +01:00
ec_local.h Rename OPENSSL_CTX prefix to OSSL_LIB_CTX 2020-10-15 11:59:53 +01:00
ec_mult.c
ec_oct.c
ec_pmeth.c
ec_print.c
ecdh_kdf.c Rename OPENSSL_CTX prefix to OSSL_LIB_CTX 2020-10-15 11:59:53 +01:00
ecdh_ossl.c
ecdsa_ossl.c
ecdsa_sign.c
ecdsa_vrf.c
eck_prn.c
ecp_mont.c
ecp_nist.c
ecp_nistp224.c
ecp_nistp256.c
ecp_nistp521.c
ecp_nistputil.c
ecp_nistz256_table.c
ecp_nistz256.c
ecp_oct.c
ecp_s390x_nistp.c
ecp_smpl.c
ecx_backend.c Fix ecx so that is uses a settable propertyquery 2020-09-23 17:31:40 +10:00
ecx_backend.h
ecx_key.c Fix REF_PRINT_COUNT argument in ecx_key_free 2020-11-10 13:00:27 +10:00
ecx_meth.c Rename OPENSSL_CTX prefix to OSSL_LIB_CTX 2020-10-15 11:59:53 +01:00
ecx_s390x.c