diff --git a/bindings/Config.in b/bindings/Config.in index a268f8078..5af0c0ce5 100644 --- a/bindings/Config.in +++ b/bindings/Config.in @@ -69,7 +69,6 @@ config CONFIG_PERL_BINDINGS Build Perl bindings. Current Issues (see README): - * Doesn't work under Win32 ActiveState Perl. * 64 bit versions don't work at present. * libperl.so needs to be in the shared library path. diff --git a/config/config.h b/config/config.h deleted file mode 100644 index 56d8e8a8d..000000000 --- a/config/config.h +++ /dev/null @@ -1,116 +0,0 @@ -/* - * Automatically generated header file: don't edit - */ - -#define HAVE_DOT_CONFIG 1 -#undef CONFIG_PLATFORM_LINUX -#undef CONFIG_PLATFORM_CYGWIN -#undef CONFIG_PLATFORM_SOLARIS -#define CONFIG_PLATFORM_WIN32 1 - -/* - * General Configuration - */ -#undef CONFIG_DEBUG - -/* - * Microsoft Compiler Options - */ -#undef CONFIG_VISUAL_STUDIO_6_0 -#define CONFIG_VISUAL_STUDIO_7_0 1 -#undef CONFIG_VISUAL_STUDIO_8_0 -#define CONFIG_VISUAL_STUDIO_6_0_BASE "" -#define CONFIG_VISUAL_STUDIO_7_0_BASE "c:\\Program Files\\Microsoft Visual Studio .NET 2003" -#define CONFIG_VISUAL_STUDIO_8_0_BASE "" -#define CONFIG_EXTRA_CFLAGS_OPTIONS "" -#define CONFIG_EXTRA_LDFLAGS_OPTIONS "" - -/* - * SSL Library - */ -#undef CONFIG_SSL_SERVER_ONLY -#undef CONFIG_SSL_CERT_VERIFICATION -#undef CONFIG_SSL_ENABLE_CLIENT -#define CONFIG_SSL_FULL_MODE 1 -#undef CONFIG_SSL_SKELETON_MODE -#undef CONFIG_SSL_PROT_LOW -#define CONFIG_SSL_PROT_MEDIUM 1 -#undef CONFIG_SSL_PROT_HIGH -#define CONFIG_SSL_USE_DEFAULT_KEY 1 -#define CONFIG_SSL_ENABLE_V23_HANDSHAKE 1 -#define CONFIG_SSL_HAS_PEM 1 -#define CONFIG_SSL_USE_PKCS12 1 -#define CONFIG_SSL_EXPIRY_TIME 24 -#define CONFIG_X509_MAX_CA_CERTS 4 -#define CONFIG_SSL_MAX_CERTS 2 -#undef CONFIG_USE_DEV_URANDOM -#define CONFIG_WIN32_USE_CRYPTO_LIB 1 -#undef CONFIG_PERFORMANCE_TESTING -#define CONFIG_SSL_TEST 1 -#define CONFIG_AWHTTPD 1 - -/* - * Awhttpd Configuration - */ -#undef CONFIG_HTTP_STATIC_BUILD -#define CONFIG_HTTP_HAS_SSL 1 -#define CONFIG_HTTP_HTTPS_PORT 443 -#undef CONFIG_STANDARD_AWHTTPD -#define CONFIG_HTTP_WEBROOT "www" -#define CONFIG_HTTP_PORT 80 -#undef CONFIG_HTTP_USE_TIMEOUT -#define CONFIG_HTTP_TIMEOUT -#define CONFIG_HTTP_INITIAL_SLOTS 10 -#define CONFIG_HTTP_MAX_USERS 100 -#undef CONFIG_HTTP_HAS_CGI -#define CONFIG_HTTP_CGI_EXTENSION "" -#undef CONFIG_HTTP_DIRECTORIES -#undef CONFIG_HTTP_PERM_CHECK -#undef CONFIG_HTTP_HAS_IPV6 -#define CONFIG_HTTP_VERBOSE 1 -#undef CONFIG_HTTP_IS_DAEMON - -/* - * Language Bindings - */ -#define CONFIG_BINDINGS 1 -#define CONFIG_CSHARP_BINDINGS 1 -#define CONFIG_VBNET_BINDINGS 1 - -/* - * .Net Framework - */ -#define CONFIG_DOT_NET_FRAMEWORK_BASE "c:\\WINDOWS\\Microsoft.NET\\Framework\\v2.0.50727" -#define CONFIG_JAVA_BINDINGS 1 - -/* - * Java Home - */ -#define CONFIG_JAVA_HOME "c:\\Program Files\\Java\\jdk1.5.0_06" -#undef CONFIG_PERL_BINDINGS -#define CONFIG_PERL_CORE "" -#define CONFIG_PERL_LIB "" - -/* - * Samples - */ -#define CONFIG_SAMPLES 1 -#define CONFIG_C_SAMPLES 1 -#define CONFIG_CSHARP_SAMPLES 1 -#define CONFIG_VBNET_SAMPLES 1 -#define CONFIG_JAVA_SAMPLES 1 -#undef CONFIG_PERL_SAMPLES - -/* - * BigInt Options - */ -#undef CONFIG_BIGINT_CLASSICAL -#undef CONFIG_BIGINT_MONTGOMERY -#define CONFIG_BIGINT_BARRETT 1 -#define CONFIG_BIGINT_CRT 1 -#undef CONFIG_BIGINT_KARATSUBA -#define MUL_KARATSUBA_THRESH -#define SQU_KARATSUBA_THRESH -#define CONFIG_BIGINT_SLIDING_WINDOW 1 -#define CONFIG_BIGINT_SQUARE 1 -#undef CONFIG_BIGINT_CHECK_ON diff --git a/ssl/Config.in b/ssl/Config.in index ff3aba597..7607f750a 100644 --- a/ssl/Config.in +++ b/ssl/Config.in @@ -161,16 +161,16 @@ config CONFIG_SSL_USE_PKCS12 default y if CONFIG_SSL_FULL_MODE depends on !CONFIG_SSL_SERVER_ONLY && !CONFIG_SSL_SKELETON_MODE help - PKCS12 certificates combine private keys and certificates together in + PKCS#12 certificates combine private keys and certificates together in one file. - PKCS8 private keys are also suppported (as it is a subset of PKCS12). + PKCS#8 private keys are also suppported (as it is a subset of PKCS#12). The decryption of these certificates uses RC4-128 (and these certificates must be encrypted using this cipher). The actual algorithm is "PBE-SHA1-RC4-128". - Disable if PKCS12 is not used (which will be in most cases). + Disable if PKCS#12 is not used (which will be in most cases). config CONFIG_SSL_EXPIRY_TIME int "Session expiry time (in hours)" diff --git a/ssl/Makefile b/ssl/Makefile index 2b0b6aa65..476576c1c 100644 --- a/ssl/Makefile +++ b/ssl/Makefile @@ -1,17 +1,17 @@ # # Copyright(C) 2006 # -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by +# This library is free software; you can redistribute it and/or modify +# it under the terms of the GNU Lesser 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, +# This library 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. +# GNU Lesser General Public License for more details. # -# You should have received a copy of the GNU General Public License +# You should have received a copy of the GNU Lesser 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 # diff --git a/ssl/aes.c b/ssl/aes.c index 7c41c753f..9a696fc77 100644 --- a/ssl/aes.c +++ b/ssl/aes.c @@ -1,17 +1,17 @@ /* * Copyright(C) 2006 * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by + * This library is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser 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, + * This library 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. + * GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License + * You should have received a copy of the GNU Lesser 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 */ diff --git a/ssl/asn1.c b/ssl/asn1.c index fa44dfbe6..42de09ba1 100644 --- a/ssl/asn1.c +++ b/ssl/asn1.c @@ -1,17 +1,17 @@ /* * Copyright(C) 2006 * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by + * This library is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 2.1 of the License, or * (at your option) any later version. * - * This program is distributed in the hope that it will be useful, + * This library 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 Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License + * You should have received a copy of the GNU Lesser 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 */ diff --git a/ssl/bigint.c b/ssl/bigint.c index 9702dc4fc..99c7b508d 100644 --- a/ssl/bigint.c +++ b/ssl/bigint.c @@ -1,17 +1,17 @@ /* * Copyright(C) 2006 * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by + * This library is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 2.1 of the License, or * (at your option) any later version. * - * This program is distributed in the hope that it will be useful, + * This library 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 Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License + * You should have received a copy of the GNU Lesser 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 */ diff --git a/ssl/bigint.h b/ssl/bigint.h index c98b3837d..d607174fe 100644 --- a/ssl/bigint.h +++ b/ssl/bigint.h @@ -1,17 +1,17 @@ /* * Copyright(C) 2006 * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by + * This library is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser 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, + * This library 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. + * GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License + * You should have received a copy of the GNU Lesser 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 */ diff --git a/ssl/bigint_impl.h b/ssl/bigint_impl.h index 1897fec16..8a0104ab1 100644 --- a/ssl/bigint_impl.h +++ b/ssl/bigint_impl.h @@ -1,17 +1,17 @@ /* * Copyright(C) 2006 * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by + * This library is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 2.1 of the License, or * (at your option) any later version. * - * This program is distributed in the hope that it will be useful, + * This library 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 Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License + * You should have received a copy of the GNU Lesser 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 */ diff --git a/ssl/crypto.h b/ssl/crypto.h index df25e6402..8f7dc643e 100644 --- a/ssl/crypto.h +++ b/ssl/crypto.h @@ -1,17 +1,17 @@ /* * Copyright(C) 2006 * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by + * This library is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser 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, + * This library 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. + * GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License + * You should have received a copy of the GNU Lesser 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 */ diff --git a/ssl/crypto_misc.c b/ssl/crypto_misc.c index b98181f02..76cc36a16 100644 --- a/ssl/crypto_misc.c +++ b/ssl/crypto_misc.c @@ -1,17 +1,17 @@ /* * Copyright(C) 2006 * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by + * This library is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 2.1 of the License, or * (at your option) any later version. * - * This program is distributed in the hope that it will be useful, + * This library 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 Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License + * You should have received a copy of the GNU Lesser 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 */ diff --git a/ssl/hmac.c b/ssl/hmac.c index 289892a48..8fb043960 100644 --- a/ssl/hmac.c +++ b/ssl/hmac.c @@ -1,17 +1,17 @@ /* * Copyright(C) 2006 * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by + * This library is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 2.1 of the License, or * (at your option) any later version. * - * This program is distributed in the hope that it will be useful, + * This library 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 Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License + * You should have received a copy of the GNU Lesser 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 */ diff --git a/ssl/loader.c b/ssl/loader.c index 5f43d4982..a41a30093 100644 --- a/ssl/loader.c +++ b/ssl/loader.c @@ -1,17 +1,17 @@ /* * Copyright(C) 2006 * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by + * This library is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 2.1 of the License, or * (at your option) any later version. * - * This program is distributed in the hope that it will be useful, + * This library 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 Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License + * You should have received a copy of the GNU Lesser 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 */ diff --git a/ssl/md5.c b/ssl/md5.c index 95adab864..3f5ec030f 100644 --- a/ssl/md5.c +++ b/ssl/md5.c @@ -1,17 +1,17 @@ /* * Copyright(C) 2006 * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by + * This library is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 2.1 of the License, or * (at your option) any later version. * - * This program is distributed in the hope that it will be useful, + * This library 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 Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License + * You should have received a copy of the GNU Lesser 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 */ diff --git a/ssl/os_port.c b/ssl/os_port.c index b278c4a29..01ab77964 100644 --- a/ssl/os_port.c +++ b/ssl/os_port.c @@ -1,17 +1,17 @@ /* * Copyright(C) 2006 * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by + * This library is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser 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, + * This library 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. + * GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License + * You should have received a copy of the GNU Lesser 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 */ diff --git a/ssl/os_port.h b/ssl/os_port.h index 73f4d9be2..049dce083 100644 --- a/ssl/os_port.h +++ b/ssl/os_port.h @@ -1,17 +1,17 @@ /* * Copyright(C) 2006 * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by + * This library is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser 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, + * This library 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 + * You should have received a copy of the GNU Lesser 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 */ diff --git a/ssl/p12.c b/ssl/p12.c index ec84b8b14..54a8e4622 100644 --- a/ssl/p12.c +++ b/ssl/p12.c @@ -1,17 +1,17 @@ /* * Copyright(C) 2006 * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by + * This library is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 2.1 of the License, or * (at your option) any later version. * - * This program is distributed in the hope that it will be useful, + * This library 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 Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License + * You should have received a copy of the GNU Lesser 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 */ diff --git a/ssl/rc4.c b/ssl/rc4.c index a9ce82ccb..8126b4f14 100644 --- a/ssl/rc4.c +++ b/ssl/rc4.c @@ -1,17 +1,17 @@ /* * Copyright(C) 2006 * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by + * This library is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser 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, + * This library 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. + * GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License + * You should have received a copy of the GNU Lesser 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 */ diff --git a/ssl/rsa.c b/ssl/rsa.c index c6fe654cb..d43373071 100644 --- a/ssl/rsa.c +++ b/ssl/rsa.c @@ -1,17 +1,17 @@ /* * Copyright(C) 2006 * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by + * This library is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 2.1 of the License, or * (at your option) any later version. * - * This program is distributed in the hope that it will be useful, + * This library 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 Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License + * You should have received a copy of the GNU Lesser 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 */ diff --git a/ssl/sha1.c b/ssl/sha1.c index e1d259c6e..5f6b2c3b2 100644 --- a/ssl/sha1.c +++ b/ssl/sha1.c @@ -1,17 +1,17 @@ /* * Copyright(C) 2006 * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by + * This library is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 2.1 of the License, or * (at your option) any later version. * - * This program is distributed in the hope that it will be useful, + * This library 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 Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License + * You should have received a copy of the GNU Lesser 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 */ diff --git a/ssl/ssl.h b/ssl/ssl.h index 687104e62..bcac9ef72 100644 --- a/ssl/ssl.h +++ b/ssl/ssl.h @@ -1,17 +1,17 @@ /* * Copyright(C) 2006 * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by + * This library is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser 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, + * This library 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. + * GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License + * You should have received a copy of the GNU Lesser 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 */ diff --git a/ssl/tls1.c b/ssl/tls1.c index f3a4a1c5d..d70f73b34 100644 --- a/ssl/tls1.c +++ b/ssl/tls1.c @@ -1,17 +1,17 @@ /* * Copyright(C) 2006 * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by + * This library is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 2.1 of the License, or * (at your option) any later version. * - * This program is distributed in the hope that it will be useful, + * This library 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 Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License + * You should have received a copy of the GNU General Lesser License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ @@ -1581,7 +1581,7 @@ SSL_SESS *ssl_session_update(int max_sessions, ssl->session_index = i; return ssl_sessions[i]; /* return the session object */ } - else if (ssl_sessions[i]->conn_time < oldest_sess_time) + else if (ssl_sessions[i]->conn_time <= oldest_sess_time) { /* find the oldest session */ oldest_sess_time = ssl_sessions[i]->conn_time; diff --git a/ssl/tls1.h b/ssl/tls1.h index be8cc1f95..c0c219602 100644 --- a/ssl/tls1.h +++ b/ssl/tls1.h @@ -1,17 +1,17 @@ /* * Copyright(C) 2006 * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by + * This library is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser 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, + * This library 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. + * GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License + * You should have received a copy of the GNU Lesser 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 */ diff --git a/ssl/tls1_clnt.c b/ssl/tls1_clnt.c index 704387642..6ddd799a2 100644 --- a/ssl/tls1_clnt.c +++ b/ssl/tls1_clnt.c @@ -1,17 +1,17 @@ /* * Copyright(C) 2006 * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by + * This library is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 2.1 of the License, or * (at your option) any later version. * - * This program is distributed in the hope that it will be useful, + * This library 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 Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License + * You should have received a copy of the GNU Lesser 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 */ diff --git a/ssl/tls1_svr.c b/ssl/tls1_svr.c index ff0eb62a5..1226e85a8 100644 --- a/ssl/tls1_svr.c +++ b/ssl/tls1_svr.c @@ -1,17 +1,17 @@ /* * Copyright(C) 2006 * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by + * This library is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 2.1 of the License, or * (at your option) any later version. * - * This program is distributed in the hope that it will be useful, + * This library 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 Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License + * You should have received a copy of the GNU Lesser 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 */