summaryrefslogtreecommitdiffstats
path: root/secure/lib/libdes/ofb64enc.c
diff options
context:
space:
mode:
authormarkm <markm@FreeBSD.org>1996-07-28 08:18:06 +0000
committermarkm <markm@FreeBSD.org>1996-07-28 08:18:06 +0000
commitac895ecc7b28577d3762c5eb9a832b45702c3302 (patch)
tree4462567f6eb34de1cc9570e7ccd0c7fbd5f8f3e9 /secure/lib/libdes/ofb64enc.c
parentf23f097f9af6c093c5bf418e75af10a01c89a1a3 (diff)
parent5313ba6bbed76bbe085937a5a042d87f2a5e601f (diff)
downloadFreeBSD-src-ac895ecc7b28577d3762c5eb9a832b45702c3302.zip
FreeBSD-src-ac895ecc7b28577d3762c5eb9a832b45702c3302.tar.gz
This commit was generated by cvs2svn to compensate for changes in r17315,
which included commits to RCS files with non-trunk default branches.
Diffstat (limited to 'secure/lib/libdes/ofb64enc.c')
-rw-r--r--secure/lib/libdes/ofb64enc.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/secure/lib/libdes/ofb64enc.c b/secure/lib/libdes/ofb64enc.c
index bc8dd8c..bb4937a 100644
--- a/secure/lib/libdes/ofb64enc.c
+++ b/secure/lib/libdes/ofb64enc.c
@@ -1,5 +1,5 @@
-/* lib/des/ofb64enc.c */
-/* Copyright (C) 1995 Eric Young (eay@mincom.oz.au)
+/* crypto/des/ofb64enc.c */
+/* Copyright (C) 1995-1996 Eric Young (eay@mincom.oz.au)
* All rights reserved.
*
* This file is part of an SSL implementation written
@@ -59,12 +59,12 @@ des_key_schedule schedule;
des_cblock (*ivec);
int *num;
{
- register unsigned long v0,v1,t;
+ register DES_LONG v0,v1,t;
register int n=*num;
register long l=length;
des_cblock d;
register char *dp;
- unsigned long ti[2];
+ DES_LONG ti[2];
unsigned char *iv;
int save=0;
@@ -80,7 +80,7 @@ int *num;
{
if (n == 0)
{
- des_encrypt((unsigned long *)ti,schedule,DES_ENCRYPT);
+ des_encrypt((DES_LONG *)ti,schedule,DES_ENCRYPT);
dp=(char *)d;
t=ti[0]; l2c(t,dp);
t=ti[1]; l2c(t,dp);
OpenPOWER on IntegriCloud