mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH v2 1/3] digest.h: needs errno definitions
@ 2019-07-19 10:55 Bastian Krause
  2019-07-19 10:55 ` [PATCH v2 2/3] common: machine_id: introduce machine id generation and pass id on Bastian Krause
  2019-07-19 10:55 ` [PATCH v2 3/3] nvmem: ocotp: set unique id as machine-id hashable Bastian Krause
  0 siblings, 2 replies; 4+ messages in thread
From: Bastian Krause @ 2019-07-19 10:55 UTC (permalink / raw)
  To: barebox; +Cc: Juergen Borleis, Bastian Krause

From: Juergen Borleis <jbe@pengutronix.de>

digest_set_key() returns -ENOTSUPP conditionally, so include errno.h.

Fixes: 2f3c3f512b ("digest: add HMAC support for md5, sha1, sha224, sha256, sha384, sha512")
Signed-off-by: Juergen Borleis <jbe@pengutronix.de>
Signed-off-by: Bastian Krause <bst@pengutronix.de>
---
Changes since (implicit) v1:
  - no changes
---
 include/digest.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/digest.h b/include/digest.h
index 474bdd160a..176084146b 100644
--- a/include/digest.h
+++ b/include/digest.h
@@ -20,6 +20,7 @@
 #define __DIGEST_H__
 
 #include <linux/list.h>
+#include <errno.h>
 
 struct digest;
 
-- 
2.20.1


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-08-05 10:08 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-19 10:55 [PATCH v2 1/3] digest.h: needs errno definitions Bastian Krause
2019-07-19 10:55 ` [PATCH v2 2/3] common: machine_id: introduce machine id generation and pass id on Bastian Krause
2019-08-05 10:08   ` Sascha Hauer
2019-07-19 10:55 ` [PATCH v2 3/3] nvmem: ocotp: set unique id as machine-id hashable Bastian Krause

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox