diff options
author | Colin Watson <cjwatson@debian.org> | 2017-10-04 11:23:58 +0100 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2017-10-04 11:23:58 +0100 |
commit | 62f54f20bf351468e0124f63cc2902ee40d9b0e9 (patch) | |
tree | 3e090f2711b94ca5029d3fa3e8047b1ed1448b1f /ssh-pkcs11-client.c | |
parent | 6fabaf6fd9b07cc8bc6a17c9c4a5b76849cfc874 (diff) | |
parent | 66bf74a92131b7effe49fb0eefe5225151869dc5 (diff) |
Import openssh_7.6p1.orig.tar.gz
Diffstat (limited to 'ssh-pkcs11-client.c')
-rw-r--r-- | ssh-pkcs11-client.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ssh-pkcs11-client.c b/ssh-pkcs11-client.c index fac0167e6..a79c87210 100644 --- a/ssh-pkcs11-client.c +++ b/ssh-pkcs11-client.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ssh-pkcs11-client.c,v 1.6 2015/12/11 00:20:04 mmcc Exp $ */ | 1 | /* $OpenBSD: ssh-pkcs11-client.c,v 1.7 2017/05/30 08:52:19 markus Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2010 Markus Friedl. All rights reserved. | 3 | * Copyright (c) 2010 Markus Friedl. All rights reserved. |
4 | * | 4 | * |
@@ -106,7 +106,7 @@ static int | |||
106 | pkcs11_rsa_private_encrypt(int flen, const u_char *from, u_char *to, RSA *rsa, | 106 | pkcs11_rsa_private_encrypt(int flen, const u_char *from, u_char *to, RSA *rsa, |
107 | int padding) | 107 | int padding) |
108 | { | 108 | { |
109 | Key key; | 109 | struct sshkey key; /* XXX */ |
110 | u_char *blob, *signature = NULL; | 110 | u_char *blob, *signature = NULL; |
111 | u_int blen, slen = 0; | 111 | u_int blen, slen = 0; |
112 | int ret = -1; | 112 | int ret = -1; |
@@ -186,7 +186,7 @@ pkcs11_start_helper(void) | |||
186 | int | 186 | int |
187 | pkcs11_add_provider(char *name, char *pin, Key ***keysp) | 187 | pkcs11_add_provider(char *name, char *pin, Key ***keysp) |
188 | { | 188 | { |
189 | Key *k; | 189 | struct sshkey *k; |
190 | int i, nkeys; | 190 | int i, nkeys; |
191 | u_char *blob; | 191 | u_char *blob; |
192 | u_int blen; | 192 | u_int blen; |