summaryrefslogtreecommitdiff
path: root/cipher-3des1.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2010-10-07 22:06:42 +1100
committerDamien Miller <djm@mindrot.org>2010-10-07 22:06:42 +1100
commit9a3d0dc062e4ebcafdc399ed8522df97066b139e (patch)
tree2c6283bf3cf257f610e26d3b0aa8ea78553ac50d /cipher-3des1.c
parent195dbaff7a2c27b371a126d3b87888ba7a71ef7e (diff)
- djm@cvs.openbsd.org 2010/10/01 23:05:32
[cipher-3des1.c cipher-bf1.c cipher-ctr.c openbsd-compat/openssl-compat.h] adapt to API changes in openssl-1.0.0a NB. contains compat code to select correct API for older OpenSSL
Diffstat (limited to 'cipher-3des1.c')
-rw-r--r--cipher-3des1.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/cipher-3des1.c b/cipher-3des1.c
index 17a13a133..b7aa588cd 100644
--- a/cipher-3des1.c
+++ b/cipher-3des1.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: cipher-3des1.c,v 1.6 2006/08/03 03:34:42 deraadt Exp $ */ 1/* $OpenBSD: cipher-3des1.c,v 1.7 2010/10/01 23:05:32 djm Exp $ */
2/* 2/*
3 * Copyright (c) 2003 Markus Friedl. All rights reserved. 3 * Copyright (c) 2003 Markus Friedl. All rights reserved.
4 * 4 *
@@ -103,7 +103,8 @@ ssh1_3des_init(EVP_CIPHER_CTX *ctx, const u_char *key, const u_char *iv,
103} 103}
104 104
105static int 105static int
106ssh1_3des_cbc(EVP_CIPHER_CTX *ctx, u_char *dest, const u_char *src, u_int len) 106ssh1_3des_cbc(EVP_CIPHER_CTX *ctx, u_char *dest, const u_char *src,
107 LIBCRYPTO_EVP_INL_TYPE len)
107{ 108{
108 struct ssh1_3des_ctx *c; 109 struct ssh1_3des_ctx *c;
109 110