summaryrefslogtreecommitdiffstats
path: root/crypto/openssh/key.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/openssh/key.c')
-rw-r--r--crypto/openssh/key.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/crypto/openssh/key.c b/crypto/openssh/key.c
index fb1f841..2d850c8 100644
--- a/crypto/openssh/key.c
+++ b/crypto/openssh/key.c
@@ -32,7 +32,7 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include "includes.h"
-RCSID("$OpenBSD: key.c,v 1.45 2002/06/23 03:26:19 deraadt Exp $");
+RCSID("$OpenBSD: key.c,v 1.44 2002/05/31 13:16:48 markus Exp $");
#include <openssl/evp.h>
@@ -89,7 +89,6 @@ key_new(int type)
}
return k;
}
-
Key *
key_new_private(int type)
{
@@ -121,7 +120,6 @@ key_new_private(int type)
}
return k;
}
-
void
key_free(Key *k)
{
@@ -361,7 +359,6 @@ read_bignum(char **cpp, BIGNUM * value)
*cpp = cp;
return 1;
}
-
static int
write_bignum(FILE *f, BIGNUM *num)
{
@@ -488,7 +485,6 @@ key_read(Key *ret, char **cpp)
}
return success;
}
-
int
key_write(Key *key, FILE *f)
{
@@ -520,7 +516,6 @@ key_write(Key *key, FILE *f)
}
return success;
}
-
char *
key_type(Key *k)
{
@@ -537,7 +532,6 @@ key_type(Key *k)
}
return "unknown";
}
-
char *
key_ssh_name(Key *k)
{
@@ -551,7 +545,6 @@ key_ssh_name(Key *k)
}
return "ssh-unknown";
}
-
u_int
key_size(Key *k)
{
@@ -814,6 +807,7 @@ key_verify(
}
/* Converts a private to a public key */
+
Key *
key_demote(Key *k)
{
OpenPOWER on IntegriCloud