Hi,

i've noticed that the documentation say the HMAC() function has the
following prototype:

        unsigned char *HMAC(const EVP_MD *evp_md, const void *key,
                      int key_len, const unsigned char *d, int n,
                      unsigned char *md, unsigned int *md_len);

(notice the int n)

but somewhere in the development line between 0.9.7 and 0.9.8 the actual
prototype in include/openssl/hmac.h changed to

unsigned char *HMAC(const EVP_MD *evp_md, const void *key, int key_len,
                    const unsigned char *d, size_t n, unsigned char *md,
                    unsigned int *md_len);

(changed to size_t n)

So i think that either the manual page is incorrect now or this change
was not supposed to happen...

Should this be reversed, should the .pod be updated, or am i missing
something here?

Jelte Jansen

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to