summaryrefslogtreecommitdiff
path: root/sshkey.h
diff options
context:
space:
mode:
authordjm@openbsd.org <djm@openbsd.org>2018-09-14 04:17:44 +0000
committerDamien Miller <djm@mindrot.org>2018-09-14 14:19:06 +1000
commit6da046f9c3374ce7e269ded15d8ff8bc45017301 (patch)
treeccad16fa508f4881970e7102c897d60f6e235b8f /sshkey.h
parent1f24ac5fc05252ceb1c1d0e8cab6a283b883c780 (diff)
upstream: garbage-collect moribund ssh_new_private() API.
OpenBSD-Commit-ID: 7c05bf13b094093dfa01848a9306c82eb6e95f6c
Diffstat (limited to 'sshkey.h')
-rw-r--r--sshkey.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/sshkey.h b/sshkey.h
index 4147ad92b..f6a007fdf 100644
--- a/sshkey.h
+++ b/sshkey.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: sshkey.h,v 1.28 2018/09/12 01:32:54 djm Exp $ */ 1/* $OpenBSD: sshkey.h,v 1.30 2018/09/14 04:17:44 djm Exp $ */
2 2
3/* 3/*
4 * Copyright (c) 2000, 2001 Markus Friedl. All rights reserved. 4 * Copyright (c) 2000, 2001 Markus Friedl. All rights reserved.
@@ -128,7 +128,6 @@ struct sshkey {
128#define ED25519_PK_SZ crypto_sign_ed25519_PUBLICKEYBYTES 128#define ED25519_PK_SZ crypto_sign_ed25519_PUBLICKEYBYTES
129 129
130struct sshkey *sshkey_new(int); 130struct sshkey *sshkey_new(int);
131struct sshkey *sshkey_new_private(int); /* XXX garbage collect */
132void sshkey_free(struct sshkey *); 131void sshkey_free(struct sshkey *);
133int sshkey_equal_public(const struct sshkey *, 132int sshkey_equal_public(const struct sshkey *,
134 const struct sshkey *); 133 const struct sshkey *);