Replace SHA-1 library with one that is clearly licensed.
[openvswitch] / lib / cfg.h
index 418eadc072b05c9c614c66c1d6cae0c2fa686e1c..f548de27f75da6d7aa1e869fad6e63910620732d 100644 (file)
--- a/lib/cfg.h
+++ b/lib/cfg.h
@@ -36,7 +36,7 @@ bool cfg_is_dirty(void);
 
 void cfg_get_all(struct svec *);
 
-#define CFG_COOKIE_LEN SHA1HashSize
+#define CFG_COOKIE_LEN SHA1_DIGEST_SIZE
 int cfg_get_cookie(uint8_t *cookie);
 
 void cfg_buf_put(struct ofpbuf *buffer);