Latest update
This commit is contained in:
@@ -418,7 +418,7 @@ static int int_dh_param_copy(DH *to, const DH *from, int is_x942)
|
||||
return 1;
|
||||
}
|
||||
|
||||
DH *DHparams_dup(DH *dh)
|
||||
DH *DHparams_dup(const DH *dh)
|
||||
{
|
||||
DH *ret;
|
||||
ret = DH_new();
|
||||
|
||||
+2
-2
@@ -37,7 +37,7 @@ ASN1_SEQUENCE_cb(DHparams, dh_cb) = {
|
||||
ASN1_OPT_EMBED(DH, length, ZINT32),
|
||||
} ASN1_SEQUENCE_END_cb(DH, DHparams)
|
||||
|
||||
IMPLEMENT_ASN1_ENCODE_FUNCTIONS_const_fname(DH, DHparams, DHparams)
|
||||
IMPLEMENT_ASN1_ENCODE_FUNCTIONS_fname(DH, DHparams, DHparams)
|
||||
|
||||
/*
|
||||
* Internal only structures for handling X9.42 DH: this gets translated to or
|
||||
@@ -74,7 +74,7 @@ int_dhx942_dh *d2i_int_dhx(int_dhx942_dh **a,
|
||||
const unsigned char **pp, long length);
|
||||
int i2d_int_dhx(const int_dhx942_dh *a, unsigned char **pp);
|
||||
|
||||
IMPLEMENT_ASN1_ENCODE_FUNCTIONS_const_fname(int_dhx942_dh, DHxparams, int_dhx)
|
||||
IMPLEMENT_ASN1_ENCODE_FUNCTIONS_fname(int_dhx942_dh, DHxparams, int_dhx)
|
||||
|
||||
/* Application public function: read in X9.42 DH parameters into DH structure */
|
||||
|
||||
|
||||
@@ -77,7 +77,7 @@ static void pkey_dh_cleanup(EVP_PKEY_CTX *ctx)
|
||||
}
|
||||
|
||||
|
||||
static int pkey_dh_copy(EVP_PKEY_CTX *dst, EVP_PKEY_CTX *src)
|
||||
static int pkey_dh_copy(EVP_PKEY_CTX *dst, const EVP_PKEY_CTX *src)
|
||||
{
|
||||
DH_PKEY_CTX *dctx, *sctx;
|
||||
if (!pkey_dh_init(dst))
|
||||
|
||||
Reference in New Issue
Block a user