Fixed the comment. The length of the secret may be larger than 64 bytes.

This commit is contained in:
wtc%netscape.com 2002-07-26 18:20:59 +00:00
Родитель 57d0b056c3
Коммит 36702e0594
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -46,9 +46,9 @@ HMAC_Destroy(HMACContext *cx);
* hash_alg the algorithm with which the HMAC is performed. This
* should be, SEC_OID_MD5, SEC_OID_SHA1, or SEC_OID_MD2.
* secret the secret with which the HMAC is performed.
* secret_len the length of the secret, limited to at most 64 bytes.
* secret_len the length of the secret.
*
* NULL is returned if an error occurs or the secret is > 64 bytes.
* NULL is returned if an error occurs.
*/
extern HMACContext *
HMAC_Create(const SECHashObject *hashObj, const unsigned char *secret,