lib/util: Clean up includes for time.[ch]
[sfrench/samba-autobuild/.git] / lib / crypto / hmacsha256.h
index 8960c636c1b91f20413985b8a3cd21e5042c27e8..d9ecac7af40c636a6e4dd766b163305b7c1826ee 100644 (file)
@@ -33,6 +33,6 @@ struct HMACSHA256Context {
 
 void hmac_sha256_init(const uint8_t *key, size_t key_len, struct HMACSHA256Context *ctx);
 void hmac_sha256_update(const uint8_t *data, size_t data_len, struct HMACSHA256Context *ctx);
-void hmac_sha256_final(uint8_t digest[20], struct HMACSHA256Context *ctx);
+void hmac_sha256_final(uint8_t digest[SHA256_DIGEST_LENGTH], struct HMACSHA256Context *ctx);
 
 #endif /* _HMAC_SHA256_H */