summaryrefslogtreecommitdiff
path: root/cipher-acss.c
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2011-01-24 12:43:25 +0000
committerColin Watson <cjwatson@debian.org>2011-01-24 12:43:25 +0000
commit626f1d986ff72aa514da63e34744e1de9cf21b9a (patch)
treed215a5280bc2e57251e4a9e08bfd3674ad824a94 /cipher-acss.c
parent6ed622cb6fe8f71bbe0d998cdd12280410bfb420 (diff)
parent0970072c89b079b022538e3c366fbfa2c53fc821 (diff)
* New upstream release (http://www.openssh.org/txt/release-5.7):
- Implement Elliptic Curve Cryptography modes for key exchange (ECDH) and host/user keys (ECDSA) as specified by RFC5656. ECDH and ECDSA offer better performance than plain DH and DSA at the same equivalent symmetric key length, as well as much shorter keys. - sftp(1)/sftp-server(8): add a protocol extension to support a hard link operation. It is available through the "ln" command in the client. The old "ln" behaviour of creating a symlink is available using its "-s" option or through the preexisting "symlink" command. - scp(1): Add a new -3 option to scp: Copies between two remote hosts are transferred through the local host (closes: #508613). - ssh(1): "atomically" create the listening mux socket by binding it on a temporary name and then linking it into position after listen() has succeeded. This allows the mux clients to determine that the server socket is either ready or stale without races (closes: #454784). Stale server sockets are now automatically removed (closes: #523250). - ssh(1): install a SIGCHLD handler to reap expired child process (closes: #594687). - ssh(1)/ssh-agent(1): honour $TMPDIR for client xauth and ssh-agent temporary directories (closes: #357469, although only if you arrange for ssh-agent to actually see $TMPDIR since the setgid bit will cause it to be stripped off).
Diffstat (limited to 'cipher-acss.c')
-rw-r--r--cipher-acss.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/cipher-acss.c b/cipher-acss.c
index cb0bf736c..e755f92b9 100644
--- a/cipher-acss.c
+++ b/cipher-acss.c
@@ -23,6 +23,7 @@
23#if !defined(EVP_CTRL_SET_ACSS_MODE) && (OPENSSL_VERSION_NUMBER >= 0x00907000L) 23#if !defined(EVP_CTRL_SET_ACSS_MODE) && (OPENSSL_VERSION_NUMBER >= 0x00907000L)
24 24
25#include "acss.h" 25#include "acss.h"
26#include "openbsd-compat/openssl-compat.h"
26 27
27#define data(ctx) ((EVP_ACSS_KEY *)(ctx)->cipher_data) 28#define data(ctx) ((EVP_ACSS_KEY *)(ctx)->cipher_data)
28 29
@@ -43,7 +44,7 @@ acss_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key,
43 44
44static int 45static int
45acss_ciph(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, 46acss_ciph(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in,
46 unsigned int inl) 47 LIBCRYPTO_EVP_INL_TYPE inl)
47{ 48{
48 acss(&data(ctx)->ks,inl,in,out); 49 acss(&data(ctx)->ks,inl,in,out);
49 return 1; 50 return 1;