diff options
author | Damien Miller <djm@mindrot.org> | 2014-07-03 21:25:03 +1000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2014-07-03 21:25:03 +1000 |
commit | e6a407789e5432dd2e53336fb73476cc69048c54 (patch) | |
tree | 573f19f4ca74992eb5a1e4dab9e6321017b13d82 | |
parent | 4a1d3d50f02d0a8a4ef95ea4749293cbfb89f919 (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-- | ChangeLog | 3 | ||||
-rw-r--r-- | digest.h | 3 |
2 files changed, 5 insertions, 1 deletions
@@ -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 | ||
38 | 20140702 | 41 | 20140702 |
39 | - OpenBSD CVS Sync | 42 | - OpenBSD CVS Sync |
@@ -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 | ||
33 | struct sshbuf; | ||
33 | struct ssh_digest_ctx; | 34 | struct 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 */ |