diff options
author | Ben Laurie <ben@openssl.org> | 2008-11-01 17:40:37 +0100 |
---|---|---|
committer | Ben Laurie <ben@openssl.org> | 2008-11-01 17:40:37 +0100 |
commit | 5e4430e70df0020f5f1517249851696cb9ac4ad2 (patch) | |
tree | 95dcbc73bcd99b725664324db882b4a388d0d4cb /crypto/ec/ec.h | |
parent | size_tification. (diff) | |
download | openssl-5e4430e70df0020f5f1517249851696cb9ac4ad2.tar.xz openssl-5e4430e70df0020f5f1517249851696cb9ac4ad2.zip |
More size_tification.
Diffstat (limited to 'crypto/ec/ec.h')
-rw-r--r-- | crypto/ec/ec.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/ec/ec.h b/crypto/ec/ec.h index ee7078130c..dc0fb073ea 100644 --- a/crypto/ec/ec.h +++ b/crypto/ec/ec.h @@ -661,7 +661,7 @@ int EC_GROUP_get_pentanomial_basis(const EC_GROUP *, unsigned int *k1, typedef struct ecpk_parameters_st ECPKPARAMETERS; -EC_GROUP *d2i_ECPKParameters(EC_GROUP **, const unsigned char **in, long len); +EC_GROUP *d2i_ECPKParameters(EC_GROUP **, const unsigned char **in, size_t len); int i2d_ECPKParameters(const EC_GROUP *, unsigned char **out); #define d2i_ECPKParameters_bio(bp,x) ASN1_d2i_bio_of(EC_GROUP,NULL,d2i_ECPKParameters,bp,x) @@ -810,7 +810,7 @@ int EC_KEY_check_key(const EC_KEY *key); * \param len length of the DER encoded private key * \return the decoded private key or NULL if an error occurred. */ -EC_KEY *d2i_ECPrivateKey(EC_KEY **key, const unsigned char **in, long len); +EC_KEY *d2i_ECPrivateKey(EC_KEY **key, const unsigned char **in, size_t len); /** Encodes a private key object and stores the result in a buffer. * \param key the EC_KEY object to encode |