mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-09-04 08:35:31 +00:00
removed unused stack variable "ctx" from dnssafersa_verify()
This commit is contained in:
@@ -19,7 +19,7 @@
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* Principal Author: Brian Wellington
|
* Principal Author: Brian Wellington
|
||||||
* $Id: bsafe_link.c,v 1.24 2000/06/06 15:16:45 tale Exp $
|
* $Id: bsafe_link.c,v 1.25 2000/06/06 16:35:59 tale Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#if defined(DNSSAFE)
|
#if defined(DNSSAFE)
|
||||||
@@ -188,12 +188,9 @@ dnssafersa_verify(dst_context_t *dctx, const isc_region_t *sig) {
|
|||||||
dst_key_t *key = dctx->key;
|
dst_key_t *key = dctx->key;
|
||||||
RSA_Key *rkey = key->opaque;
|
RSA_Key *rkey = key->opaque;
|
||||||
B_ALGORITHM_OBJ rsaEncryptor = (B_ALGORITHM_OBJ) NULL_PTR;
|
B_ALGORITHM_OBJ rsaEncryptor = (B_ALGORITHM_OBJ) NULL_PTR;
|
||||||
B_ALGORITHM_OBJ *ctx;
|
|
||||||
unsigned int written = 0;
|
unsigned int written = 0;
|
||||||
isc_result_t result;
|
isc_result_t result;
|
||||||
|
|
||||||
ctx = dctx->opaque;
|
|
||||||
|
|
||||||
isc_buffer_init(&digestbuf, digest_array, sizeof(digest_array));
|
isc_buffer_init(&digestbuf, digest_array, sizeof(digest_array));
|
||||||
result = dst_context_digest(md5ctx, &digestbuf);
|
result = dst_context_digest(md5ctx, &digestbuf);
|
||||||
if (result != ISC_R_SUCCESS)
|
if (result != ISC_R_SUCCESS)
|
||||||
|
Reference in New Issue
Block a user