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