diff options
author | Damien Miller <djm@mindrot.org> | 2003-03-15 11:36:18 +1100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2003-03-15 11:36:18 +1100 |
commit | ed33d3b4d229b0e815f43d8a3192047ef161dcd7 (patch) | |
tree | 26aadf53af8d7550a2e9dd8e7252d1aedca2424f /ssh-keysign.c | |
parent | c1365e19b0f5ae8d05b697cd40d1fb4f664112b6 (diff) | |
download | openssh-git-ed33d3b4d229b0e815f43d8a3192047ef161dcd7.tar.gz |
- (djm) OpenBSD CVS Sync
- markus@cvs.openbsd.org 2003/03/13 11:42:19
[authfile.c ssh-keysign.c]
move RSA_blinding_on to generic key load method
Diffstat (limited to 'ssh-keysign.c')
-rw-r--r-- | ssh-keysign.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/ssh-keysign.c b/ssh-keysign.c index 46028ae5..26c8faad 100644 --- a/ssh-keysign.c +++ b/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> @@ -192,13 +192,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; } |