fix typo, add prototype
This commit is contained in:
parent
f32e0035a3
commit
aff2922f9a
@ -622,7 +622,7 @@ void EC_EX_DATA_free_data(EC_EXTRA_DATA **ex_data,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* this has 'package' visibility */
|
/* this has 'package' visibility */
|
||||||
void EC_EX_DATA_clear_free_extra_data(EC_EXTRA_DATA **ex_data,
|
void EC_EX_DATA_clear_free_data(EC_EXTRA_DATA **ex_data,
|
||||||
void *(*dup_func)(void *), void (*free_func)(void *), void (*clear_free_func)(void *))
|
void *(*dup_func)(void *), void (*free_func)(void *), void (*clear_free_func)(void *))
|
||||||
{
|
{
|
||||||
EC_EXTRA_DATA **p;
|
EC_EXTRA_DATA **p;
|
||||||
|
@ -78,6 +78,7 @@ const char *ECDH_version="ECDH" OPENSSL_VERSION_PTEXT;
|
|||||||
|
|
||||||
static const ECDH_METHOD *default_ECDH_method = NULL;
|
static const ECDH_METHOD *default_ECDH_method = NULL;
|
||||||
|
|
||||||
|
static void *ecdh_data_new(void);
|
||||||
static void *ecdh_data_dup(void *);
|
static void *ecdh_data_dup(void *);
|
||||||
static void ecdh_data_free(void *);
|
static void ecdh_data_free(void *);
|
||||||
|
|
||||||
@ -167,7 +168,7 @@ static ECDH_DATA *ECDH_DATA_new_method(ENGINE *engine)
|
|||||||
return(ret);
|
return(ret);
|
||||||
}
|
}
|
||||||
|
|
||||||
void *ecdh_data_new(void)
|
static void *ecdh_data_new(void)
|
||||||
{
|
{
|
||||||
return (void *)ECDH_DATA_new_method(NULL);
|
return (void *)ECDH_DATA_new_method(NULL);
|
||||||
}
|
}
|
||||||
|
@ -65,6 +65,7 @@ const char *ECDSA_version="ECDSA" OPENSSL_VERSION_PTEXT;
|
|||||||
|
|
||||||
static const ECDSA_METHOD *default_ECDSA_method = NULL;
|
static const ECDSA_METHOD *default_ECDSA_method = NULL;
|
||||||
|
|
||||||
|
static void *ecdsa_data_new(void);
|
||||||
static void *ecdsa_data_dup(void *);
|
static void *ecdsa_data_dup(void *);
|
||||||
static void ecdsa_data_free(void *);
|
static void ecdsa_data_free(void *);
|
||||||
|
|
||||||
@ -147,7 +148,7 @@ static ECDSA_DATA *ECDSA_DATA_new_method(ENGINE *engine)
|
|||||||
return(ret);
|
return(ret);
|
||||||
}
|
}
|
||||||
|
|
||||||
void *ecdsa_data_new(void)
|
static void *ecdsa_data_new(void)
|
||||||
{
|
{
|
||||||
return (void *)ECDSA_DATA_new_method(NULL);
|
return (void *)ECDSA_DATA_new_method(NULL);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user