summaryrefslogtreecommitdiff
path: root/authfile.c
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2013-05-07 11:47:26 +0100
committerColin Watson <cjwatson@debian.org>2013-05-07 11:47:26 +0100
commit2ea3f720daeb1ca9f765365fce3a9546961fe624 (patch)
treec4fb7d1f51fa51e7677232de806aae150e29e2ac /authfile.c
parentf5efcd3450bbf8261915e0c4a6f851229dddaa79 (diff)
parentecebda56da46a03dafff923d91c382f31faa9eec (diff)
* New upstream release (http://www.openssh.com/txt/release-6.2).
- Add support for multiple required authentication in SSH protocol 2 via an AuthenticationMethods option (closes: #195716). - Fix Sophie Germain formula in moduli(5) (closes: #698612). - Update ssh-copy-id to Phil Hands' greatly revised version (closes: #99785, #322228, #620428; LP: #518883, #835901, #1074798).
Diffstat (limited to 'authfile.c')
-rw-r--r--authfile.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/authfile.c b/authfile.c
index b0b4e1272..1ecbda8b1 100644
--- a/authfile.c
+++ b/authfile.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: authfile.c,v 1.93 2012/01/25 19:36:31 markus Exp $ */ 1/* $OpenBSD: authfile.c,v 1.95 2013/01/08 18:49:04 markus Exp $ */
2/* 2/*
3 * Author: Tatu Ylonen <ylo@cs.hut.fi> 3 * Author: Tatu Ylonen <ylo@cs.hut.fi>
4 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland 4 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -151,7 +151,7 @@ key_private_rsa1_to_blob(Key *key, Buffer *blob, const char *passphrase,
151 cipher_set_key_string(&ciphercontext, cipher, passphrase, 151 cipher_set_key_string(&ciphercontext, cipher, passphrase,
152 CIPHER_ENCRYPT); 152 CIPHER_ENCRYPT);
153 cipher_crypt(&ciphercontext, cp, 153 cipher_crypt(&ciphercontext, cp,
154 buffer_ptr(&buffer), buffer_len(&buffer)); 154 buffer_ptr(&buffer), buffer_len(&buffer), 0, 0);
155 cipher_cleanup(&ciphercontext); 155 cipher_cleanup(&ciphercontext);
156 memset(&ciphercontext, 0, sizeof(ciphercontext)); 156 memset(&ciphercontext, 0, sizeof(ciphercontext));
157 157
@@ -475,7 +475,7 @@ key_parse_private_rsa1(Buffer *blob, const char *passphrase, char **commentp)
475 cipher_set_key_string(&ciphercontext, cipher, passphrase, 475 cipher_set_key_string(&ciphercontext, cipher, passphrase,
476 CIPHER_DECRYPT); 476 CIPHER_DECRYPT);
477 cipher_crypt(&ciphercontext, cp, 477 cipher_crypt(&ciphercontext, cp,
478 buffer_ptr(&copy), buffer_len(&copy)); 478 buffer_ptr(&copy), buffer_len(&copy), 0, 0);
479 cipher_cleanup(&ciphercontext); 479 cipher_cleanup(&ciphercontext);
480 memset(&ciphercontext, 0, sizeof(ciphercontext)); 480 memset(&ciphercontext, 0, sizeof(ciphercontext));
481 buffer_free(&copy); 481 buffer_free(&copy);