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 b6b690051..d8f942f5a 100644
--- a/ssh-keygen.c
+++ b/ssh-keygen.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: ssh-keygen.c,v 1.305 2017/06/28 01:09:22 djm Exp $ */ 1/* $OpenBSD: ssh-keygen.c,v 1.306 2017/07/01 13:50:45 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
@@ -41,7 +41,6 @@
41 41
42#include "xmalloc.h" 42#include "xmalloc.h"
43#include "sshkey.h" 43#include "sshkey.h"
44#include "rsa.h"
45#include "authfile.h" 44#include "authfile.h"
46#include "uuencode.h" 45#include "uuencode.h"
47#include "sshbuf.h" 46#include "sshbuf.h"
@@ -528,7 +527,7 @@ do_convert_private_ssh2_from_blob(u_char *blob, u_int blen)
528 buffer_get_bignum_bits(b, key->rsa->iqmp); 527 buffer_get_bignum_bits(b, key->rsa->iqmp);
529 buffer_get_bignum_bits(b, key->rsa->q); 528 buffer_get_bignum_bits(b, key->rsa->q);
530 buffer_get_bignum_bits(b, key->rsa->p); 529 buffer_get_bignum_bits(b, key->rsa->p);
531 if ((r = rsa_generate_additional_parameters(key->rsa)) != 0) 530 if ((r = ssh_rsa_generate_additional_parameters(key)) != 0)
532 fatal("generate RSA parameters failed: %s", ssh_err(r)); 531 fatal("generate RSA parameters failed: %s", ssh_err(r));
533 break; 532 break;
534 } 533 }