diff options
author | Colin Watson <cjwatson@debian.org> | 2015-08-19 14:23:51 +0100 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2015-08-19 16:48:11 +0100 |
commit | 0f0841b2d28b7463267d4d91577e72e3340a1d3a (patch) | |
tree | ba55fcd2b6e2cc22b30f5afb561dbb3da4c8b6c7 /hmac.c | |
parent | f2a5f5dae656759efb0b76c3d94890b65c197a02 (diff) | |
parent | 8698446b972003b63dfe5dcbdb86acfe986afb85 (diff) |
New upstream release (6.8p1).
Diffstat (limited to 'hmac.c')
-rw-r--r-- | hmac.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: hmac.c,v 1.10 2014/01/31 16:39:19 tedu Exp $ */ | 1 | /* $OpenBSD: hmac.c,v 1.11 2015/01/15 21:37:14 markus Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2014 Markus Friedl. All rights reserved. | 3 | * Copyright (c) 2014 Markus Friedl. All rights reserved. |
4 | * | 4 | * |
@@ -20,7 +20,7 @@ | |||
20 | #include <sys/types.h> | 20 | #include <sys/types.h> |
21 | #include <string.h> | 21 | #include <string.h> |
22 | 22 | ||
23 | #include "buffer.h" | 23 | #include "sshbuf.h" |
24 | #include "digest.h" | 24 | #include "digest.h" |
25 | #include "hmac.h" | 25 | #include "hmac.h" |
26 | 26 | ||
@@ -96,7 +96,7 @@ ssh_hmac_update(struct ssh_hmac_ctx *ctx, const void *m, size_t mlen) | |||
96 | } | 96 | } |
97 | 97 | ||
98 | int | 98 | int |
99 | ssh_hmac_update_buffer(struct ssh_hmac_ctx *ctx, const Buffer *b) | 99 | ssh_hmac_update_buffer(struct ssh_hmac_ctx *ctx, const struct sshbuf *b) |
100 | { | 100 | { |
101 | return ssh_digest_update_buffer(ctx->digest, b); | 101 | return ssh_digest_update_buffer(ctx->digest, b); |
102 | } | 102 | } |