summaryrefslogtreecommitdiffstats
path: root/crypto/ecdh
diff options
context:
space:
mode:
authorNils Larsch <nils@openssl.org>2005-05-20 22:55:10 +0000
committerNils Larsch <nils@openssl.org>2005-05-20 22:55:10 +0000
commitbbbd67108f6cb6224b0725095a69bfc391011411 (patch)
treed9982afaf7efb86266971e6da982d966904e91a5 /crypto/ecdh
parent7f246621b5b8802a12e3bf06ae6c0473d74daefb (diff)
fix typo, add prototype
Diffstat (limited to 'crypto/ecdh')
-rw-r--r--crypto/ecdh/ech_lib.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/crypto/ecdh/ech_lib.c b/crypto/ecdh/ech_lib.c
index 85fbfc5cac..01e75e2a5c 100644
--- a/crypto/ecdh/ech_lib.c
+++ b/crypto/ecdh/ech_lib.c
@@ -78,6 +78,7 @@ const char *ECDH_version="ECDH" OPENSSL_VERSION_PTEXT;
static const ECDH_METHOD *default_ECDH_method = NULL;
+static void *ecdh_data_new(void);
static void *ecdh_data_dup(void *);
static void ecdh_data_free(void *);
@@ -167,7 +168,7 @@ static ECDH_DATA *ECDH_DATA_new_method(ENGINE *engine)
return(ret);
}
-void *ecdh_data_new(void)
+static void *ecdh_data_new(void)
{
return (void *)ECDH_DATA_new_method(NULL);
}