fix typo, add prototype

This commit is contained in:
Nils Larsch
2005-05-20 22:55:10 +00:00
parent 7f246621b5
commit bbbd67108f
3 changed files with 5 additions and 3 deletions

View File

@@ -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);
}