summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorasami <asami@FreeBSD.org>1999-12-14 22:53:27 +0000
committerasami <asami@FreeBSD.org>1999-12-14 22:53:27 +0000
commit859e733778deebb8cf7a7a776150c1e45fdaefbd (patch)
treeedb12802671ae6c571d884646949195a4a89b786
parent316e58464e93d6f5336b4d360cd11c4473d1b98b (diff)
downloadFreeBSD-ports-859e733778deebb8cf7a7a776150c1e45fdaefbd.zip
FreeBSD-ports-859e733778deebb8cf7a7a776150c1e45fdaefbd.tar.gz
Fix whitespace problem.
Submitted by: jedgar@fxp.org
-rw-r--r--security/rsaref/files/patch-ac84
1 files changed, 38 insertions, 46 deletions
diff --git a/security/rsaref/files/patch-ac b/security/rsaref/files/patch-ac
index f773b1c..4ad1924 100644
--- a/security/rsaref/files/patch-ac
+++ b/security/rsaref/files/patch-ac
@@ -1,50 +1,42 @@
-*** rsa.original.c Fri Mar 26 14:01:48 1994
---- rsa.c Fri Dec 10 12:56:34 1999
-***************
-*** 33,38 ****
---- 33,41 ----
- unsigned char byte, pkcsBlock[MAX_RSA_MODULUS_LEN];
- unsigned int i, modulusLen;
-
-+ if (publicKey->bits > MAX_RSA_MODULUS_BITS)
-+ return (RE_LEN);
+--- rsa.c.orig Fri Mar 25 14:01:48 1994
++++ rsa.c Mon Dec 13 13:10:28 1999
+@@ -33,6 +33,9 @@
+ unsigned char byte, pkcsBlock[MAX_RSA_MODULUS_LEN];
+ unsigned int i, modulusLen;
+
++ if (publicKey->bits > MAX_RSA_MODULUS_BITS)
++ return (RE_LEN);
+
- modulusLen = (publicKey->bits + 7) / 8;
- if (inputLen + 11 > modulusLen)
- return (RE_LEN);
-***************
-*** 78,83 ****
---- 81,89 ----
- unsigned char pkcsBlock[MAX_RSA_MODULUS_LEN];
- unsigned int i, modulusLen, pkcsBlockLen;
-
-+ if (publicKey->bits > MAX_RSA_MODULUS_BITS)
-+ return (RE_LEN);
+ modulusLen = (publicKey->bits + 7) / 8;
+ if (inputLen + 11 > modulusLen)
+ return (RE_LEN);
+@@ -78,6 +81,9 @@
+ unsigned char pkcsBlock[MAX_RSA_MODULUS_LEN];
+ unsigned int i, modulusLen, pkcsBlockLen;
+
++ if (publicKey->bits > MAX_RSA_MODULUS_BITS)
++ return (RE_LEN);
+
- modulusLen = (publicKey->bits + 7) / 8;
- if (inputLen > modulusLen)
- return (RE_LEN);
-***************
-*** 128,133 ****
---- 134,142 ----
- int status;
- unsigned char pkcsBlock[MAX_RSA_MODULUS_LEN];
- unsigned int i, modulusLen;
+ modulusLen = (publicKey->bits + 7) / 8;
+ if (inputLen > modulusLen)
+ return (RE_LEN);
+@@ -128,6 +134,9 @@
+ int status;
+ unsigned char pkcsBlock[MAX_RSA_MODULUS_LEN];
+ unsigned int i, modulusLen;
+
-+ if (privateKey->bits > MAX_RSA_MODULUS_BITS)
-+ return (RE_LEN);
-
- modulusLen = (privateKey->bits + 7) / 8;
- if (inputLen + 11 > modulusLen)
-***************
-*** 168,173 ****
---- 177,185 ----
- unsigned char pkcsBlock[MAX_RSA_MODULUS_LEN];
- unsigned int i, modulusLen, pkcsBlockLen;
-
-+ if (privateKey->bits > MAX_RSA_MODULUS_BITS)
-+ return (RE_LEN);
++ if (privateKey->bits > MAX_RSA_MODULUS_BITS)
++ return (RE_LEN);
+
+ modulusLen = (privateKey->bits + 7) / 8;
+ if (inputLen + 11 > modulusLen)
+@@ -168,6 +177,9 @@
+ unsigned char pkcsBlock[MAX_RSA_MODULUS_LEN];
+ unsigned int i, modulusLen, pkcsBlockLen;
+
++ if (privateKey->bits > MAX_RSA_MODULUS_BITS)
++ return (RE_LEN);
+
- modulusLen = (privateKey->bits + 7) / 8;
- if (inputLen > modulusLen)
- return (RE_LEN);
+ modulusLen = (privateKey->bits + 7) / 8;
+ if (inputLen > modulusLen)
+ return (RE_LEN);
OpenPOWER on IntegriCloud