diff options
author | 2003-03-13 11:42:18 +0000 | |
---|---|---|
committer | 2003-03-13 11:42:18 +0000 | |
commit | 4f51379f9ee01168da4e1a847222e90ba505761e (patch) | |
tree | 1e01fad80e51275d9a87f5b8464eec53c7446db7 /usr.bin/ssh/ssh-keysign.c | |
parent | another (diff) | |
download | wireguard-openbsd-4f51379f9ee01168da4e1a847222e90ba505761e.tar.xz wireguard-openbsd-4f51379f9ee01168da4e1a847222e90ba505761e.zip |
move RSA_blinding_on to generic key load method
Diffstat (limited to 'usr.bin/ssh/ssh-keysign.c')
-rw-r--r-- | usr.bin/ssh/ssh-keysign.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/usr.bin/ssh/ssh-keysign.c b/usr.bin/ssh/ssh-keysign.c index 19f275b94d2..13023011a47 100644 --- a/usr.bin/ssh/ssh-keysign.c +++ b/usr.bin/ssh/ssh-keysign.c @@ -22,7 +22,7 @@ * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ #include "includes.h" -RCSID("$OpenBSD: ssh-keysign.c,v 1.9 2002/12/19 00:07:02 djm Exp $"); +RCSID("$OpenBSD: ssh-keysign.c,v 1.10 2003/03/13 11:42:19 markus Exp $"); #include <openssl/evp.h> #include <openssl/rand.h> @@ -182,13 +182,6 @@ main(int argc, char **argv) keys[i] = key_load_private_pem(key_fd[i], KEY_UNSPEC, NULL, NULL); close(key_fd[i]); - if (keys[i] != NULL && keys[i]->type == KEY_RSA) { - if (RSA_blinding_on(keys[i]->rsa, NULL) != 1) { - error("RSA_blinding_on failed"); - key_free(keys[i]); - keys[i] = NULL; - } - } if (keys[i] != NULL) found = 1; } |