[openssl] master update
shane.lontis at oracle.com
shane.lontis at oracle.com
Tue Nov 10 03:02:47 UTC 2020
The branch master has been updated
via ecd1550be928c6bfedb01709f7fa3a6e0b07e127 (commit)
from 8016faf156287d9ef69cb7b6a0012ae0af631ce6 (commit)
- Log -----------------------------------------------------------------
commit ecd1550be928c6bfedb01709f7fa3a6e0b07e127
Author: Daniel Bevenius <daniel.bevenius at gmail.com>
Date: Mon Nov 2 13:33:01 2020 +0100
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 at openssl.org>
Reviewed-by: Shane Lontis <shane.lontis at oracle.com>
(Merged from https://github.com/openssl/openssl/pull/13298)
-----------------------------------------------------------------------
Summary of changes:
crypto/ec/ecx_key.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/crypto/ec/ecx_key.c b/crypto/ec/ecx_key.c
index 1d2891928e..db74a40c97 100644
--- a/crypto/ec/ecx_key.c
+++ b/crypto/ec/ecx_key.c
@@ -62,7 +62,7 @@ void ecx_key_free(ECX_KEY *key)
return;
CRYPTO_DOWN_REF(&key->references, &i, key->lock);
- REF_PRINT_COUNT("ECX_KEY", r);
+ REF_PRINT_COUNT("ECX_KEY", key);
if (i > 0)
return;
REF_ASSERT_ISNT(i < 0);
More information about the openssl-commits
mailing list