summaryrefslogtreecommitdiffstats
path: root/key.h
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2013-10-30 12:19:47 +0100
committerDamien Miller <djm@mindrot.org>2013-10-30 12:19:47 +0100
commit4a3a9d4bbf8048473f5cc202cd8db7164d5e6b8d (patch)
tree87c013981b56858480c8ec0a354f9948c955d3a6 /key.h
parent - djm@cvs.openbsd.org 2013/10/25 23:04:51 (diff)
downloadopenssh-4a3a9d4bbf8048473f5cc202cd8db7164d5e6b8d.tar.xz
openssh-4a3a9d4bbf8048473f5cc202cd8db7164d5e6b8d.zip
- djm@cvs.openbsd.org 2013/10/29 09:42:11
[key.c key.h] fix potential stack exhaustion caused by nested certificates; report by Mateusz Kocielski; ok dtucker@ markus@
Diffstat (limited to 'key.h')
-rw-r--r--key.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/key.h b/key.h
index 17358ae1f..8a78a828a 100644
--- a/key.h
+++ b/key.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: key.h,v 1.37 2013/05/19 02:42:42 djm Exp $ */
+/* $OpenBSD: key.h,v 1.38 2013/10/29 09:42:11 djm Exp $ */
/*
* Copyright (c) 2000, 2001 Markus Friedl. All rights reserved.
@@ -107,6 +107,7 @@ Key *key_generate(int, u_int);
Key *key_from_private(const Key *);
int key_type_from_name(char *);
int key_is_cert(const Key *);
+int key_type_is_cert(int);
int key_type_plain(int);
int key_to_certified(Key *, int);
int key_drop_cert(Key *);