diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2006-05-24 12:33:46 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2006-05-24 12:33:46 +0000 |
commit | eaff5a1412011574860a74ff9076838ea1e59dd0 (patch) | |
tree | 8c0bbb46d1bf399d59114f4cfa9727e39e6b92f5 /crypto/dh | |
parent | 216e0d5b91b682001a6562838db2a6c95659b903 (diff) |
Use size_t for new crypto size parameters.
Diffstat (limited to 'crypto/dh')
-rw-r--r-- | crypto/dh/dh_pmeth.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/dh/dh_pmeth.c b/crypto/dh/dh_pmeth.c index a4b7341c22..b8b1362eba 100644 --- a/crypto/dh/dh_pmeth.c +++ b/crypto/dh/dh_pmeth.c @@ -187,7 +187,7 @@ static int pkey_dh_keygen(EVP_PKEY_CTX *ctx, EVP_PKEY *pkey) return DH_generate_key(pkey->pkey.dh); } -static int pkey_dh_derive(EVP_PKEY_CTX *ctx, unsigned char *key, int *keylen) +static int pkey_dh_derive(EVP_PKEY_CTX *ctx, unsigned char *key, size_t *keylen) { int ret; if (!ctx->pkey || !ctx->peerkey) |