diff options
author | Doug Hogan <doug@cvs.openbsd.org> | 2015-02-07 13:19:16 +0000 |
---|---|---|
committer | Doug Hogan <doug@cvs.openbsd.org> | 2015-02-07 13:19:16 +0000 |
commit | 982c76e9bd0a003cedde8036963fd868a1758a06 (patch) | |
tree | f76c85c96764bfc459d322b262a0e1ceba2e78b7 /lib/libcrypto/des/ofb64ede.c | |
parent | 14c0b3850b15235e68b5035684ef3a76ffa7d831 (diff) |
Delete a lot of #if 0 code in libressl.
There are a few instances where #if 1 is removed but the code remains.
Based on the following OpenSSL commits. Some of the commits weren't
strictly deletions so they are going to be split up into separate commits.
6f91b017bbb7140f816721141ac156d1b828a6b3
3d47c1d331fdc7574d2275cda1a630ccdb624b08
dfb56425b68314b2b57e17c82c1df42e7a015132
c8fa2356a00cbaada8963f739e5570298311a060
f16a64d11f55c01f56baa62ebf1dec7f8fe718cb
9ccc00ef6ea65567622e40c49aca43f2c6d79cdb
02a938c953b3e1ced71d9a832de1618f907eb96d
75d0ebef2aef7a2c77b27575b8da898e22f3ccd5
d6fbb194095312f4722c81c9362dbd0de66cb656
6f1a93ad111c7dfe36a09a976c4c009079b19ea1
1a5adcfb5edfe23908b350f8757df405b0f5f71f
8de24b792743d11e1d5a0dcd336a49368750c577
a2b18e657ea1a932d125154f4e13ab2258796d90
8e964419603d2478dfb391c66e7ccb2dcc9776b4
32dfde107636ac9bc62a5b3233fe2a54dbc27008
input + ok jsing@, miod@, tedu@
Diffstat (limited to 'lib/libcrypto/des/ofb64ede.c')
-rw-r--r-- | lib/libcrypto/des/ofb64ede.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/lib/libcrypto/des/ofb64ede.c b/lib/libcrypto/des/ofb64ede.c index 1d916e93056..474d38caaf7 100644 --- a/lib/libcrypto/des/ofb64ede.c +++ b/lib/libcrypto/des/ofb64ede.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ofb64ede.c,v 1.5 2014/10/28 07:35:58 jsg Exp $ */ +/* $OpenBSD: ofb64ede.c,v 1.6 2015/02/07 13:19:15 doug Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -105,8 +105,6 @@ void DES_ede3_ofb64_encrypt(const unsigned char *in, } if (save) { -/* v0=ti[0]; - v1=ti[1];*/ iv = &(*ivec)[0]; l2c(v0,iv); l2c(v1,iv); @@ -114,12 +112,3 @@ void DES_ede3_ofb64_encrypt(const unsigned char *in, v0=v1=ti[0]=ti[1]=0; *num=n; } - -#ifdef undef /* MACRO */ -void DES_ede2_ofb64_encrypt(unsigned char *in, - unsigned char *out, long length, DES_key_schedule k1, - DES_key_schedule k2, DES_cblock (*ivec), int *num) - { - DES_ede3_ofb64_encrypt(in, out, length, k1,k2,k1, ivec, num); - } -#endif |