summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto
diff options
context:
space:
mode:
authormillert <>2010-09-01 14:43:34 +0000
committermillert <>2010-09-01 14:43:34 +0000
commit7d30a0421744354f691ef48ea7c33d26a03cd44d (patch)
treee68a509bb514551ec325df667b0dc5d1be28b66c /src/lib/libcrypto
parentf0061574c419ec3bf23ea4d80cdc326b5f69057d (diff)
downloadopenbsd-7d30a0421744354f691ef48ea7c33d26a03cd44d.tar.gz
openbsd-7d30a0421744354f691ef48ea7c33d26a03cd44d.tar.bz2
openbsd-7d30a0421744354f691ef48ea7c33d26a03cd44d.zip
Oracle has re-licensed sunrpc under a three-clause BSD license.
Update our sources appropriately. OK deraadt@ jsg@
Diffstat (limited to 'src/lib/libcrypto')
-rw-r--r--src/lib/libcrypto/des/rpc_des.h56
1 files changed, 29 insertions, 27 deletions
diff --git a/src/lib/libcrypto/des/rpc_des.h b/src/lib/libcrypto/des/rpc_des.h
index 4cbb4d2dcd..efc474f00e 100644
--- a/src/lib/libcrypto/des/rpc_des.h
+++ b/src/lib/libcrypto/des/rpc_des.h
@@ -58,37 +58,39 @@
58 58
59/* @(#)des.h 2.2 88/08/10 4.0 RPCSRC; from 2.7 88/02/08 SMI */ 59/* @(#)des.h 2.2 88/08/10 4.0 RPCSRC; from 2.7 88/02/08 SMI */
60/* 60/*
61 * Sun RPC is a product of Sun Microsystems, Inc. and is provided for 61 * Copyright (c) 2010, Oracle America, Inc.
62 * unrestricted use provided that this legend is included on all tape 62 *
63 * media and as a part of the software program in whole or part. Users 63 * Redistribution and use in source and binary forms, with or without
64 * may copy or modify Sun RPC without charge, but are not authorized 64 * modification, are permitted provided that the following conditions are
65 * to license or distribute it to anyone else except as part of a product or 65 * met:
66 * program developed by the user. 66 *
67 * 67 * * Redistributions of source code must retain the above copyright
68 * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE 68 * notice, this list of conditions and the following disclaimer.
69 * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR 69 * * Redistributions in binary form must reproduce the above
70 * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE. 70 * copyright notice, this list of conditions and the following
71 * 71 * disclaimer in the documentation and/or other materials
72 * Sun RPC is provided with no support and without any obligation on the 72 * provided with the distribution.
73 * part of Sun Microsystems, Inc. to assist in its use, correction, 73 * * Neither the name of the "Oracle America, Inc." nor the names of its
74 * modification or enhancement. 74 * contributors may be used to endorse or promote products derived
75 * 75 * from this software without specific prior written permission.
76 * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE 76 *
77 * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC 77 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
78 * OR ANY PART THEREOF. 78 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
79 * 79 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
80 * In no event will Sun Microsystems, Inc. be liable for any lost revenue 80 * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
81 * or profits or other special, indirect and consequential damages, even if 81 * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
82 * Sun has been advised of the possibility of such damages. 82 * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
83 * 83 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
84 * Sun Microsystems, Inc. 84 * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
85 * 2550 Garcia Avenue 85 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
86 * Mountain View, California 94043 86 * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
87 * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
88 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
87 */ 89 */
90
88/* 91/*
89 * Generic DES driver interface 92 * Generic DES driver interface
90 * Keep this file hardware independent! 93 * Keep this file hardware independent!
91 * Copyright (c) 1986 by Sun Microsystems, Inc.
92 */ 94 */
93 95
94#define DES_MAXLEN 65536 /* maximum # of bytes to encrypt */ 96#define DES_MAXLEN 65536 /* maximum # of bytes to encrypt */