]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Remove unnecessary forward declarations.
authorAaron Thompson <dev@aaront.org>
Tue, 31 Mar 2020 02:26:21 +0000 (02:26 +0000)
committerOndřej Surý <ondrej@isc.org>
Mon, 20 Apr 2020 09:40:41 +0000 (11:40 +0200)
lib/dns/openssldh_link.c
lib/dns/opensslecdsa_link.c
lib/dns/openssleddsa_link.c
lib/dns/opensslrsa_link.c
lib/dns/pkcs11ecdsa_link.c
lib/dns/pkcs11eddsa_link.c
lib/dns/pkcs11rsa_link.c

index 3a3100582558eb8e8a131a01af5ebdba901f6a34..f9f99289a60bfbd59b4a1e1ce5045c459b4c5efa 100644 (file)
@@ -68,9 +68,6 @@
        "83655D23DCA3AD961C62F356208552BB9ED529077096966D" \
        "670C354E4ABC9804F1746C08CA237327FFFFFFFFFFFFFFFF"
 
-static isc_result_t
-openssldh_todns(const dst_key_t *key, isc_buffer_t *data);
-
 static BIGNUM *bn2 = NULL, *bn768 = NULL, *bn1024 = NULL, *bn1536 = NULL;
 
 #if !HAVE_DH_GET0_KEY
index 29d3fd2983149eebf44f6944c6273b4f2f0de27c..ba9b4dd1fda63c54b1e4d9b0f98e1b9754c974c0 100644 (file)
@@ -73,9 +73,6 @@ ECDSA_SIG_set0(ECDSA_SIG *sig, BIGNUM *r, BIGNUM *s) {
 }
 #endif /* !HAVE_ECDSA_SIG_GET0 */
 
-static isc_result_t
-opensslecdsa_todns(const dst_key_t *key, isc_buffer_t *data);
-
 static isc_result_t
 opensslecdsa_createctx(dst_key_t *key, dst_context_t *dctx) {
        EVP_MD_CTX *evp_md_ctx;
index 326cf67c7e099ce70ec9121df715f2524574e4d5..524d6473bfcb1dbf840f37ce0c7a2816f8c018e1 100644 (file)
@@ -267,9 +267,6 @@ priv_ed448_from_ossl(EVP_PKEY *pkey, unsigned char *key) {
 
 #endif /* HAVE_OPENSSL_ED448 */
 
-static isc_result_t
-openssleddsa_todns(const dst_key_t *key, isc_buffer_t *data);
-
 static isc_result_t
 openssleddsa_createctx(dst_key_t *key, dst_context_t *dctx) {
        isc_buffer_t *buf = NULL;
index b334de0f964aea3f4f5386954f1d6add6344573c..bc975be91a637873cfc02da65f51ffbed8ed3442 100644 (file)
@@ -181,9 +181,6 @@ RSA_test_flags(const RSA *r, int flags) {
 
 #endif /* !HAVE_RSA_SET0_KEY */
 
-static isc_result_t
-opensslrsa_todns(const dst_key_t *key, isc_buffer_t *data);
-
 static isc_result_t
 opensslrsa_createctx(dst_key_t *key, dst_context_t *dctx) {
        EVP_MD_CTX *evp_md_ctx;
index e7b87bf100187d238b7439d46b1ced5a702cd927..d6160aa414284dcc9e0ac531fe0ed124492e3771 100644 (file)
 static CK_BBOOL truevalue = TRUE;
 static CK_BBOOL falsevalue = FALSE;
 
-static isc_result_t
-pkcs11ecdsa_todns(const dst_key_t *key, isc_buffer_t *data);
 static void
 pkcs11ecdsa_destroy(dst_key_t *key);
-static isc_result_t
-pkcs11ecdsa_fetch(dst_key_t *key, const char *engine, const char *label,
-                 dst_key_t *pub);
 
 static isc_result_t
 pkcs11ecdsa_createctx(dst_key_t *key, dst_context_t *dctx) {
index 8cea05c3dd91459a135a8e2a90da5a31a2b2052e..39df97ccbfc5a73d5c49ab955e3587342d3af02f 100644 (file)
 static CK_BBOOL truevalue = TRUE;
 static CK_BBOOL falsevalue = FALSE;
 
-static isc_result_t
-pkcs11eddsa_todns(const dst_key_t *key, isc_buffer_t *data);
 static void
 pkcs11eddsa_destroy(dst_key_t *key);
-static isc_result_t
-pkcs11eddsa_fetch(dst_key_t *key, const char *engine, const char *label,
-                 dst_key_t *pub);
 
 static isc_result_t
 pkcs11eddsa_createctx(dst_key_t *key, dst_context_t *dctx) {
index 117c3185e1f405ada6dc9fc3c1d4a6b736c7f160..5487f2986947eb04faea72438f31a1e07ba64038 100644 (file)
 static CK_BBOOL truevalue = TRUE;
 static CK_BBOOL falsevalue = FALSE;
 
-static isc_result_t
-pkcs11rsa_todns(const dst_key_t *key, isc_buffer_t *data);
 static void
 pkcs11rsa_destroy(dst_key_t *key);
-static isc_result_t
-pkcs11rsa_fetch(dst_key_t *key, const char *engine, const char *label,
-               dst_key_t *pub);
 
 #ifndef PK11_RSA_PKCS_REPLACE