summaryrefslogtreecommitdiff
path: root/usr.bin/ssh
diff options
context:
space:
mode:
authorMarkus Friedl <markus@cvs.openbsd.org>2015-01-15 21:37:15 +0000
committerMarkus Friedl <markus@cvs.openbsd.org>2015-01-15 21:37:15 +0000
commit0a1c4ecfb5aef21fb96329b9869db0741b522384 (patch)
tree6479cfa8af724d3d9711f44d85b2137ae944677b /usr.bin/ssh
parent74bd49700ea852f6d520eec0a546eb4b24bf5a8e (diff)
switch to sshbuf
Diffstat (limited to 'usr.bin/ssh')
-rw-r--r--usr.bin/ssh/hmac.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/ssh/hmac.c b/usr.bin/ssh/hmac.c
index 947715e5c53..473cc11e0c0 100644
--- a/usr.bin/ssh/hmac.c
+++ b/usr.bin/ssh/hmac.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: hmac.c,v 1.10 2014/01/31 16:39:19 tedu Exp $ */
+/* $OpenBSD: hmac.c,v 1.11 2015/01/15 21:37:14 markus Exp $ */
/*
* Copyright (c) 2014 Markus Friedl. All rights reserved.
*
@@ -18,7 +18,7 @@
#include <sys/types.h>
#include <string.h>
-#include "buffer.h"
+#include "sshbuf.h"
#include "digest.h"
#include "hmac.h"
@@ -94,7 +94,7 @@ ssh_hmac_update(struct ssh_hmac_ctx *ctx, const void *m, size_t mlen)
}
int
-ssh_hmac_update_buffer(struct ssh_hmac_ctx *ctx, const Buffer *b)
+ssh_hmac_update_buffer(struct ssh_hmac_ctx *ctx, const struct sshbuf *b)
{
return ssh_digest_update_buffer(ctx->digest, b);
}