summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2014-07-03 21:25:03 +1000
committerDamien Miller <djm@mindrot.org>2014-07-03 21:25:03 +1000
commite6a407789e5432dd2e53336fb73476cc69048c54 (patch)
tree573f19f4ca74992eb5a1e4dab9e6321017b13d82
parent4a1d3d50f02d0a8a4ef95ea4749293cbfb89f919 (diff)
- djm@cvs.openbsd.org 2014/07/03 04:36:45
[digest.h] forward-declare struct sshbuf so consumers don't need to include sshbuf.h
-rw-r--r--ChangeLog3
-rw-r--r--digest.h3
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 0f9f1ed5..c9649abd 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -34,6 +34,9 @@
When hashing or removing hosts using ssh-keygen, don't choke on
@revoked markers and don't remove @cert-authority markers;
bz#2241, reported by mlindgren AT runelind.net
+ - djm@cvs.openbsd.org 2014/07/03 04:36:45
+ [digest.h]
+ forward-declare struct sshbuf so consumers don't need to include sshbuf.h
20140702
- OpenBSD CVS Sync
diff --git a/digest.h b/digest.h
index edf6c87d..6afb197f 100644
--- a/digest.h
+++ b/digest.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: digest.h,v 1.5 2014/06/24 01:13:21 djm Exp $ */
+/* $OpenBSD: digest.h,v 1.6 2014/07/03 04:36:45 djm Exp $ */
/*
* Copyright (c) 2013 Damien Miller <djm@mindrot.org>
*
@@ -30,6 +30,7 @@
#define SSH_DIGEST_SHA512 5
#define SSH_DIGEST_MAX 6
+struct sshbuf;
struct ssh_digest_ctx;
/* Returns the algorithm's digest length in bytes or 0 for invalid algorithm */