[vpnc-devel] svn commit: vpnc r446 - /branches/vpnc-nortel/ /branches/vpnc-nortel/test/ /trunk/ /trunk/test/
vpnc at unix-ag.uni-kl.de
vpnc at unix-ag.uni-kl.de
Sat Sep 12 20:24:21 CEST 2009
Author: Antonio Borneo
Date: Sat Sep 12 20:24:21 2009
New Revision: 446
Log:
Strip off some unneeded whitespaces.
Modified:
branches/vpnc-nortel/crypto-gnutls.c
branches/vpnc-nortel/crypto-gnutls.h
branches/vpnc-nortel/crypto-openssl.c
branches/vpnc-nortel/crypto-openssl.h
branches/vpnc-nortel/crypto.c
branches/vpnc-nortel/crypto.h
branches/vpnc-nortel/test-crypto.c
branches/vpnc-nortel/test/cert.pem
branches/vpnc-nortel/vpnc.c
trunk/crypto-gnutls.c
trunk/crypto-gnutls.h
trunk/crypto-openssl.c
trunk/crypto-openssl.h
trunk/crypto.c
trunk/crypto.h
trunk/test-crypto.c
trunk/test/cert.pem
Modified: branches/vpnc-nortel/crypto-gnutls.c
==============================================================================
--- branches/vpnc-nortel/crypto-gnutls.c (original)
+++ branches/vpnc-nortel/crypto-gnutls.c Sat Sep 12 20:24:21 2009
@@ -4,12 +4,12 @@
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
-
+
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
-
+
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
@@ -356,8 +356,8 @@
return ret;
}
-static unsigned char *check_pkcs1_padding(unsigned char* from,
- size_t from_len,
+static unsigned char *check_pkcs1_padding(unsigned char* from,
+ size_t from_len,
size_t *out_len,
crypto_error **error)
{
@@ -381,7 +381,7 @@
}
i++; /* Skips 00 byte */
-
+
if (i < 10) {
crypto_error_set(error, 1, 0, "PKCS#1 padding too short");
goto out;
Modified: branches/vpnc-nortel/crypto-gnutls.h
==============================================================================
--- branches/vpnc-nortel/crypto-gnutls.h (original)
+++ branches/vpnc-nortel/crypto-gnutls.h Sat Sep 12 20:24:21 2009
@@ -4,12 +4,12 @@
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
-
+
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
-
+
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Modified: branches/vpnc-nortel/crypto-openssl.c
==============================================================================
--- branches/vpnc-nortel/crypto-openssl.c (original)
+++ branches/vpnc-nortel/crypto-openssl.c Sat Sep 12 20:24:21 2009
@@ -4,12 +4,12 @@
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
-
+
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
-
+
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
@@ -162,8 +162,8 @@
const char *ca_dir,
crypto_error **error)
{
- X509 *x509;
- X509_STORE *store = NULL;
+ X509 *x509;
+ X509_STORE *store = NULL;
X509_LOOKUP *lookup = NULL;
X509_STORE_CTX *verify_ctx = NULL;
int ret = 1;
@@ -253,9 +253,9 @@
unsigned int padding,
crypto_error **error)
{
- X509 *x509;
- EVP_PKEY *pkey = NULL;
- RSA *rsa;
+ X509 *x509;
+ EVP_PKEY *pkey = NULL;
+ RSA *rsa;
unsigned char *hash = NULL;
int tmp_len = -1, ossl_pad;
Modified: branches/vpnc-nortel/crypto-openssl.h
==============================================================================
--- branches/vpnc-nortel/crypto-openssl.h (original)
+++ branches/vpnc-nortel/crypto-openssl.h Sat Sep 12 20:24:21 2009
@@ -4,12 +4,12 @@
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
-
+
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
-
+
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Modified: branches/vpnc-nortel/crypto.c
==============================================================================
--- branches/vpnc-nortel/crypto.c (original)
+++ branches/vpnc-nortel/crypto.c Sat Sep 12 20:24:21 2009
@@ -4,12 +4,12 @@
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
-
+
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
-
+
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Modified: branches/vpnc-nortel/crypto.h
==============================================================================
--- branches/vpnc-nortel/crypto.h (original)
+++ branches/vpnc-nortel/crypto.h Sat Sep 12 20:24:21 2009
@@ -4,12 +4,12 @@
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
-
+
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
-
+
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Modified: branches/vpnc-nortel/test-crypto.c
==============================================================================
--- branches/vpnc-nortel/test-crypto.c (original)
+++ branches/vpnc-nortel/test-crypto.c Sat Sep 12 20:24:21 2009
@@ -4,12 +4,12 @@
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
-
+
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
-
+
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Modified: branches/vpnc-nortel/test/cert.pem
==============================================================================
--- branches/vpnc-nortel/test/cert.pem (original)
+++ branches/vpnc-nortel/test/cert.pem Sat Sep 12 20:24:21 2009
@@ -33,20 +33,20 @@
90:bb
Exponent: 65537 (0x10001)
X509v3 extensions:
- Authority Information Access:
+ Authority Information Access:
OCSP - URI:https://ocsp.quovadisoffshore.com
X509v3 Basic Constraints: critical
CA:TRUE
- X509v3 Certificate Policies:
+ X509v3 Certificate Policies:
Policy: 1.3.6.1.4.1.8024.0.1
User Notice:
Explicit Text: Reliance on the QuoVadis Root Certificate by any party assumes acceptance of the then applicable standard terms and conditions of use, certification practices, and the QuoVadis Certificate Policy.
CPS: http://www.quovadis.bm
- X509v3 Subject Key Identifier:
+ X509v3 Subject Key Identifier:
8B:4B:6D:ED:D3:29:B9:06:19:EC:39:39:A9:F0:97:84:6A:CB:EF:DF
- X509v3 Authority Key Identifier:
+ X509v3 Authority Key Identifier:
keyid:8B:4B:6D:ED:D3:29:B9:06:19:EC:39:39:A9:F0:97:84:6A:CB:EF:DF
DirName:/C=BM/O=QuoVadis Limited/OU=Root Certification Authority/CN=QuoVadis Root Certification Authority
serial:3A:B6:50:8B
@@ -159,11 +159,11 @@
X509v3 extensions:
X509v3 Basic Constraints: critical
CA:TRUE
- X509v3 Key Usage:
+ X509v3 Key Usage:
Certificate Sign, CRL Sign
- X509v3 Subject Key Identifier:
+ X509v3 Subject Key Identifier:
1A:84:62:BC:48:4C:33:25:04:D4:EE:D0:F6:03:C4:19:46:D1:94:6B
- X509v3 Authority Key Identifier:
+ X509v3 Authority Key Identifier:
keyid:1A:84:62:BC:48:4C:33:25:04:D4:EE:D0:F6:03:C4:19:46:D1:94:6B
DirName:/C=BM/O=QuoVadis Limited/CN=QuoVadis Root CA 2
serial:05:09
@@ -287,17 +287,17 @@
X509v3 extensions:
X509v3 Basic Constraints: critical
CA:TRUE
- X509v3 Certificate Policies:
+ X509v3 Certificate Policies:
Policy: 1.3.6.1.4.1.8024.0.3
User Notice:
Explicit Text: Any use of this Certificate constitutes acceptance of the QuoVadis Root CA 3 Certificate Policy / Certification Practice Statement.
CPS: http://www.quovadisglobal.com/cps
- X509v3 Key Usage:
+ X509v3 Key Usage:
Certificate Sign, CRL Sign
- X509v3 Subject Key Identifier:
+ X509v3 Subject Key Identifier:
F2:C0:13:E0:82:43:3E:FB:EE:2F:67:32:96:35:5C:DB:B8:CB:02:D0
- X509v3 Authority Key Identifier:
+ X509v3 Authority Key Identifier:
keyid:F2:C0:13:E0:82:43:3E:FB:EE:2F:67:32:96:35:5C:DB:B8:CB:02:D0
DirName:/C=BM/O=QuoVadis Limited/CN=QuoVadis Root CA 3
serial:05:C6
Modified: branches/vpnc-nortel/vpnc.c
==============================================================================
--- branches/vpnc-nortel/vpnc.c (original)
+++ branches/vpnc-nortel/vpnc.c Sat Sep 12 20:24:21 2009
@@ -893,7 +893,7 @@
}
static int mask_to_masklen(struct in_addr mask)
-{
+{
int len;
uint32_t addr;
Modified: trunk/crypto-gnutls.c
==============================================================================
--- trunk/crypto-gnutls.c (original)
+++ trunk/crypto-gnutls.c Sat Sep 12 20:24:21 2009
@@ -4,12 +4,12 @@
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
-
+
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
-
+
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
@@ -356,8 +356,8 @@
return ret;
}
-static unsigned char *check_pkcs1_padding(unsigned char* from,
- size_t from_len,
+static unsigned char *check_pkcs1_padding(unsigned char* from,
+ size_t from_len,
size_t *out_len,
crypto_error **error)
{
@@ -381,7 +381,7 @@
}
i++; /* Skips 00 byte */
-
+
if (i < 10) {
crypto_error_set(error, 1, 0, "PKCS#1 padding too short");
goto out;
Modified: trunk/crypto-gnutls.h
==============================================================================
--- trunk/crypto-gnutls.h (original)
+++ trunk/crypto-gnutls.h Sat Sep 12 20:24:21 2009
@@ -4,12 +4,12 @@
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
-
+
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
-
+
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Modified: trunk/crypto-openssl.c
==============================================================================
--- trunk/crypto-openssl.c (original)
+++ trunk/crypto-openssl.c Sat Sep 12 20:24:21 2009
@@ -4,12 +4,12 @@
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
-
+
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
-
+
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
@@ -162,8 +162,8 @@
const char *ca_dir,
crypto_error **error)
{
- X509 *x509;
- X509_STORE *store = NULL;
+ X509 *x509;
+ X509_STORE *store = NULL;
X509_LOOKUP *lookup = NULL;
X509_STORE_CTX *verify_ctx = NULL;
int ret = 1;
@@ -253,9 +253,9 @@
unsigned int padding,
crypto_error **error)
{
- X509 *x509;
- EVP_PKEY *pkey = NULL;
- RSA *rsa;
+ X509 *x509;
+ EVP_PKEY *pkey = NULL;
+ RSA *rsa;
unsigned char *hash = NULL;
int tmp_len = -1, ossl_pad;
Modified: trunk/crypto-openssl.h
==============================================================================
--- trunk/crypto-openssl.h (original)
+++ trunk/crypto-openssl.h Sat Sep 12 20:24:21 2009
@@ -4,12 +4,12 @@
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
-
+
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
-
+
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Modified: trunk/crypto.c
==============================================================================
--- trunk/crypto.c (original)
+++ trunk/crypto.c Sat Sep 12 20:24:21 2009
@@ -4,12 +4,12 @@
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
-
+
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
-
+
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Modified: trunk/crypto.h
==============================================================================
--- trunk/crypto.h (original)
+++ trunk/crypto.h Sat Sep 12 20:24:21 2009
@@ -4,12 +4,12 @@
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
-
+
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
-
+
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Modified: trunk/test-crypto.c
==============================================================================
--- trunk/test-crypto.c (original)
+++ trunk/test-crypto.c Sat Sep 12 20:24:21 2009
@@ -4,12 +4,12 @@
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
-
+
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
-
+
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Modified: trunk/test/cert.pem
==============================================================================
--- trunk/test/cert.pem (original)
+++ trunk/test/cert.pem Sat Sep 12 20:24:21 2009
@@ -33,20 +33,20 @@
90:bb
Exponent: 65537 (0x10001)
X509v3 extensions:
- Authority Information Access:
+ Authority Information Access:
OCSP - URI:https://ocsp.quovadisoffshore.com
X509v3 Basic Constraints: critical
CA:TRUE
- X509v3 Certificate Policies:
+ X509v3 Certificate Policies:
Policy: 1.3.6.1.4.1.8024.0.1
User Notice:
Explicit Text: Reliance on the QuoVadis Root Certificate by any party assumes acceptance of the then applicable standard terms and conditions of use, certification practices, and the QuoVadis Certificate Policy.
CPS: http://www.quovadis.bm
- X509v3 Subject Key Identifier:
+ X509v3 Subject Key Identifier:
8B:4B:6D:ED:D3:29:B9:06:19:EC:39:39:A9:F0:97:84:6A:CB:EF:DF
- X509v3 Authority Key Identifier:
+ X509v3 Authority Key Identifier:
keyid:8B:4B:6D:ED:D3:29:B9:06:19:EC:39:39:A9:F0:97:84:6A:CB:EF:DF
DirName:/C=BM/O=QuoVadis Limited/OU=Root Certification Authority/CN=QuoVadis Root Certification Authority
serial:3A:B6:50:8B
@@ -159,11 +159,11 @@
X509v3 extensions:
X509v3 Basic Constraints: critical
CA:TRUE
- X509v3 Key Usage:
+ X509v3 Key Usage:
Certificate Sign, CRL Sign
- X509v3 Subject Key Identifier:
+ X509v3 Subject Key Identifier:
1A:84:62:BC:48:4C:33:25:04:D4:EE:D0:F6:03:C4:19:46:D1:94:6B
- X509v3 Authority Key Identifier:
+ X509v3 Authority Key Identifier:
keyid:1A:84:62:BC:48:4C:33:25:04:D4:EE:D0:F6:03:C4:19:46:D1:94:6B
DirName:/C=BM/O=QuoVadis Limited/CN=QuoVadis Root CA 2
serial:05:09
@@ -287,17 +287,17 @@
X509v3 extensions:
X509v3 Basic Constraints: critical
CA:TRUE
- X509v3 Certificate Policies:
+ X509v3 Certificate Policies:
Policy: 1.3.6.1.4.1.8024.0.3
User Notice:
Explicit Text: Any use of this Certificate constitutes acceptance of the QuoVadis Root CA 3 Certificate Policy / Certification Practice Statement.
CPS: http://www.quovadisglobal.com/cps
- X509v3 Key Usage:
+ X509v3 Key Usage:
Certificate Sign, CRL Sign
- X509v3 Subject Key Identifier:
+ X509v3 Subject Key Identifier:
F2:C0:13:E0:82:43:3E:FB:EE:2F:67:32:96:35:5C:DB:B8:CB:02:D0
- X509v3 Authority Key Identifier:
+ X509v3 Authority Key Identifier:
keyid:F2:C0:13:E0:82:43:3E:FB:EE:2F:67:32:96:35:5C:DB:B8:CB:02:D0
DirName:/C=BM/O=QuoVadis Limited/CN=QuoVadis Root CA 3
serial:05:C6
More information about the vpnc-devel
mailing list