summaryrefslogtreecommitdiffstats
path: root/usr.bin/ssh/sshbuf.h
diff options
context:
space:
mode:
authormarkus <markus@openbsd.org>2018-07-09 21:56:06 +0000
committermarkus <markus@openbsd.org>2018-07-09 21:56:06 +0000
commita74252e9279c077c136daf6c974bfc96576f6b73 (patch)
tree20316af095148fc53d926fb80b705c7d848f62e2 /usr.bin/ssh/sshbuf.h
parentsshd: switch monitor to sshbuf API; lots of help & ok djm@ (diff)
downloadwireguard-openbsd-a74252e9279c077c136daf6c974bfc96576f6b73.tar.xz
wireguard-openbsd-a74252e9279c077c136daf6c974bfc96576f6b73.zip
remove legacy buffer API emulation layer; ok djm@
Diffstat (limited to 'usr.bin/ssh/sshbuf.h')
-rw-r--r--usr.bin/ssh/sshbuf.h11
1 files changed, 1 insertions, 10 deletions
diff --git a/usr.bin/ssh/sshbuf.h b/usr.bin/ssh/sshbuf.h
index f4cc4a6bec0..6fd3322891d 100644
--- a/usr.bin/ssh/sshbuf.h
+++ b/usr.bin/ssh/sshbuf.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: sshbuf.h,v 1.10 2018/04/10 00:10:49 djm Exp $ */
+/* $OpenBSD: sshbuf.h,v 1.11 2018/07/09 21:56:06 markus Exp $ */
/*
* Copyright (c) 2011 Damien Miller
*
@@ -46,15 +46,6 @@ struct sshbuf {
struct sshbuf *parent; /* If child, pointer to parent */
};
-#ifndef SSHBUF_NO_DEPREACTED
-/*
- * NB. Please do not use sshbuf_init() in new code. Please use sshbuf_new()
- * instead. sshbuf_init() is deprecated and will go away soon (it is
- * only included to allow compat with buffer_* in OpenSSH)
- */
-void sshbuf_init(struct sshbuf *buf);
-#endif
-
/*
* Create a new sshbuf buffer.
* Returns pointer to buffer on success, or NULL on allocation failure.