diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2006-07-20 16:56:47 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2006-07-20 16:56:47 +0000 |
commit | 786aa98da1e7921f240eedfb18e0370f0155c22b (patch) | |
tree | 98b15ca22821a0e598a169394e577403b878fe7e /crypto/ec/ec_pmeth.c | |
parent | 413e0853d7457e9ca2dcc18fd2ca15ef9327b04d (diff) |
Use correct pointer types for various functions.
Diffstat (limited to 'crypto/ec/ec_pmeth.c')
-rw-r--r-- | crypto/ec/ec_pmeth.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/ec/ec_pmeth.c b/crypto/ec/ec_pmeth.c index 31d44d9449..4621e765ff 100644 --- a/crypto/ec/ec_pmeth.c +++ b/crypto/ec/ec_pmeth.c @@ -120,7 +120,7 @@ static int pkey_ec_sign(EVP_PKEY_CTX *ctx, unsigned char *sig, size_t *siglen, const unsigned char *tbs, size_t tbslen) { int ret, type; - size_t sltmp; + unsigned int sltmp; EC_PKEY_CTX *dctx = ctx->data; EC_KEY *ec = ctx->pkey->pkey.ec; @@ -145,7 +145,7 @@ static int pkey_ec_sign(EVP_PKEY_CTX *ctx, unsigned char *sig, size_t *siglen, if (ret < 0) return ret; - *siglen = sltmp; + *siglen = (size_t)sltmp; return 1; } |