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 /digest.h | |
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
Diffstat (limited to 'digest.h')
-rw-r--r-- | digest.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 */ |