summaryrefslogtreecommitdiff
path: root/ssh-keygen.c
diff options
context:
space:
mode:
Diffstat (limited to 'ssh-keygen.c')
-rw-r--r--ssh-keygen.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ssh-keygen.c b/ssh-keygen.c
index d14c99004..7d3629365 100644
--- a/ssh-keygen.c
+++ b/ssh-keygen.c
@@ -12,7 +12,7 @@
12 */ 12 */
13 13
14#include "includes.h" 14#include "includes.h"
15RCSID("$OpenBSD: ssh-keygen.c,v 1.95 2002/03/21 16:54:53 markus Exp $"); 15RCSID("$OpenBSD: ssh-keygen.c,v 1.96 2002/03/21 21:54:34 rees Exp $");
16 16
17#include <openssl/evp.h> 17#include <openssl/evp.h>
18#include <openssl/pem.h> 18#include <openssl/pem.h>
@@ -418,7 +418,7 @@ do_download(struct passwd *pw, const char *sc_reader_id)
418{ 418{
419 Key *pub = NULL; 419 Key *pub = NULL;
420 420
421 pub = sc_get_key(sc_reader_id); 421 pub = sc_get_key(sc_reader_id, NULL);
422 if (pub == NULL) 422 if (pub == NULL)
423 fatal("cannot read public key from smartcard"); 423 fatal("cannot read public key from smartcard");
424 key_write(pub, stdout); 424 key_write(pub, stdout);