summaryrefslogtreecommitdiff
path: root/key.c
diff options
context:
space:
mode:
Diffstat (limited to 'key.c')
-rw-r--r--key.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/key.c b/key.c
index d30dc5c3c..fc65c2948 100644
--- a/key.c
+++ b/key.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: key.c,v 1.96 2011/02/04 00:44:21 djm Exp $ */ 1/* $OpenBSD: key.c,v 1.97 2011/05/17 07:13:31 djm Exp $ */
2/* 2/*
3 * read_bignum(): 3 * read_bignum():
4 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland 4 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -1821,6 +1821,9 @@ key_to_certified(Key *k, int legacy)
1821 k->type = legacy ? KEY_DSA_CERT_V00 : KEY_DSA_CERT; 1821 k->type = legacy ? KEY_DSA_CERT_V00 : KEY_DSA_CERT;
1822 return 0; 1822 return 0;
1823 case KEY_ECDSA: 1823 case KEY_ECDSA:
1824 if (legacy)
1825 fatal("%s: legacy ECDSA certificates are not supported",
1826 __func__);
1824 k->cert = cert_new(); 1827 k->cert = cert_new();
1825 k->type = KEY_ECDSA_CERT; 1828 k->type = KEY_ECDSA_CERT;
1826 return 0; 1829 return 0;