summaryrefslogtreecommitdiff
path: root/ssh-keygen.c
diff options
context:
space:
mode:
Diffstat (limited to 'ssh-keygen.c')
-rw-r--r--ssh-keygen.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/ssh-keygen.c b/ssh-keygen.c
index bbd434b0b..560c4818a 100644
--- a/ssh-keygen.c
+++ b/ssh-keygen.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: ssh-keygen.c,v 1.203 2010/09/02 17:21:50 naddy Exp $ */ 1/* $OpenBSD: ssh-keygen.c,v 1.204 2010/10/28 11:22:09 djm Exp $ */
2/* 2/*
3 * Author: Tatu Ylonen <ylo@cs.hut.fi> 3 * Author: Tatu Ylonen <ylo@cs.hut.fi>
4 * Copyright (c) 1994 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland 4 * Copyright (c) 1994 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -556,8 +556,7 @@ do_convert_from_pkcs8(Key **k, int *private)
556 *k = key_new(KEY_UNSPEC); 556 *k = key_new(KEY_UNSPEC);
557 (*k)->type = KEY_ECDSA; 557 (*k)->type = KEY_ECDSA;
558 (*k)->ecdsa = EVP_PKEY_get1_EC_KEY(pubkey); 558 (*k)->ecdsa = EVP_PKEY_get1_EC_KEY(pubkey);
559 (*k)->ecdsa_nid = key_ecdsa_group_to_nid( 559 (*k)->ecdsa_nid = key_ecdsa_key_to_nid((*k)->ecdsa);
560 EC_KEY_get0_group((*k)->ecdsa));
561 break; 560 break;
562#endif 561#endif
563 default: 562 default: