Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/openssl/openssl.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/ssl
AgeCommit message (Collapse)Author
2000-09-23Avoid protocol rollback.Bodo Möller
2000-09-21Portability patch for HP MPE/iX. Submitted by Mark Bixby <mark_bixby@hp.com>Richard Levitte
2000-09-17Use sk_*_new_null() instead of sk_*_new(NULL), since that takes careRichard Levitte
of complaints from the compiler about data pointers and function pointers not being compatible with each other.
2000-09-13New SSL API mode 'SSL_MODE_AUTO_RETRY', which disables the defaultBodo Möller
behaviour that SSL_read may result in SSL_ERROR_WANT_READ.
2000-09-07'make update'Richard Levitte
2000-09-05Keep a not of original encoding in certificate requests.Dr. Stephen Henson
Add new option to PKCS7_sign to exclude S/MIME capabilities.
2000-09-04Avoid abort() throughout the library, except when preprocessorBodo Möller
symbols for debugging are defined.
2000-08-14MD4 implemented. Assar Westerlund provided the digest code itself and the ↵Richard Levitte
test utility, I added the bits to get a EVP interface, the command line utility and the speed test
2000-07-29Document rollback issues.Bodo Möller
2000-07-29Fix SSL 2.0 rollback checking: The previous implementation of theBodo Möller
test was never triggered due to an off-by-one error. In s23_clnt.c, don't use special rollback-attack detection padding (RSA_SSLV23_PADDING) if SSL 2.0 is the only protocol enabled in the client; similarly, in s23_srvr.c, don't do the rollback check if SSL 2.0 is the only protocol enabled in the server.
2000-07-05I got sick and tired of having to keep track of NIDs when such a thingRichard Levitte
could be done automagically, much like the numbering in libeay.num and ssleay.num. The solution works as follows: - New object identifiers are inserted in objects.txt, following the syntax given in objects.README. - objects.pl is used to process obj_mac.num and create a new obj_mac.h. - obj_dat.pl is used to create a new obj_dat.h, using the data in obj_mac.h. This is currently kind of a hack, and the perl code in objects.pl isn't very elegant, but it works as I intended. The simplest way to check that it worked correctly is to look in obj_dat.h and check the array nid_objs and make sure the objects haven't moved around (this is important!). Additions are OK, as well as consistent name changes.
2000-07-05BeautificationRichard Levitte
2000-07-02Fix code structure (if ... else if ... where both partsBodo Möller
may be disabled by preprocessor symbols)
2000-06-21Fixes for Win32 build.Dr. Stephen Henson
This is mostly a work around for the old VC++ problem that it treats func() as func(void). Various prototypes had been added to 'compare' function pointers that triggered this. This could be fixed by removing the prototype, adding function pointer casts to every call or changing the passed function to use the expected arguments. I mostly did the latter. The mkdef.pl script was modified to remove the typesafe functions which no longer exist. Oh and some functions called OPENSSL_freeLibrary() were changed back to FreeLibrary(), wonder how that happened :-)
2000-06-17Safe stack reorganisation in terms of function casts.Dr. Stephen Henson
After some messing around this seems to work but needs a few more tests. Working out the syntax for sk_set_cmp_func() (cast it to a function that itself returns a function pointer) was painful :-( Needs some testing to see what other compilers think of this syntax. Also needs similar stuff for ASN1_SET_OF etc etc.
2000-06-13Enable DSO support on alpha (OSF1), cc and gcc.Geoff Thorpe
Also, "make update" has added some missing functions to libeay.num, updated the TABLE for the alpha changes, and updated thousands of dependancies that have changed from recent commits.
2000-06-09Using checks of the existence of HEADER_{foo}_H in other header filesRichard Levitte
was a really bad idea. For example, the following: #include <x509.h> #include <bio.h> #include <asn1.h> would make sure that things like ASN1_UTCTIME_print() wasn't defined unless you moved the inclusion of bio.h to above the inclusion of x509.h. The reason is that x509.h includes asn1.h, and the declaration of ASN1_UTCTIME_print() depended on the definition of HEADER_BIO_H. That's what I call an obscure bug. Instead, this change makes sure that whatever header files are needed for the correct process of one header file are included automagically, and that the definitions of, for example, BIO-related things are dependent on the absence of the NO_{foo} macros. This is also consistent with the way parts of OpenSSL can be excluded at will.
2000-06-02There have been a number of complaints from a number of sources that namesRichard Levitte
like Malloc, Realloc and especially Free conflict with already existing names on some operating systems or other packages. That is reason enough to change the names of the OpenSSL memory allocation macros to something that has a better chance of being unique, like prepending them with OPENSSL_. This change includes all the name changes needed throughout all C files.
2000-06-01"make update" + stripping the type-specific stack functions out ofGeoff Thorpe
libeay.num and ssleay.num.
2000-06-01The previous commit to crypto/stack/*.[ch] pulled the type-safety stringsGeoff Thorpe
yet tighter, and also put some heat on the rest of the library by insisting (correctly) that compare callbacks used in stacks are prototyped with "const" parameters. This has led to a depth-first explosion of compiler warnings in the code where 1 constification has led to 3 or 4 more. Fortunately these have all been resolved to completion and the code seems cleaner as a result - in particular many of the _cmp() functions should have been prototyped with "const"s, and now are. There was one little problem however; X509_cmp() should by rights compare "const X509 *" pointers, and it is now declared as such. However, it's internal workings can involve recalculating hash values and extensions if they have not already been setup. Someone with a more intricate understanding of the flow control of X509 might be able to tighten this up, but for now - this seemed the obvious place to stop the "depth-first" constification of the code by using an evil cast (they have migrated all the way here from safestack.h). Fortunately, this is the only place in the code where this was required to complete these type-safety changes, and it's reasonably clear and commented, and seemed the least unacceptable of the options. Trying to take the constification further ends up exploding out considerably, and indeed leads directly into generalised ASN functions which are not likely to cooperate well with this.
2000-05-28Bugfix: clear error queue after ignoring ssl_verify_cert_chain result.Bodo Möller
2000-05-25typoBodo Möller
2000-05-25Implement SSL_OP_TLS_ROLLBACK_BUG for servers.Bodo Möller
Call dh_tmp_cb with correct 'is_export' flag. Avoid tabs in CHANGES.
2000-05-21Avoid sprintfBodo Möller
2000-05-21Avoid sprintf.Bodo Möller
2000-05-21Avoid sprintf, and harmonize indentation.Bodo Möller
2000-05-21Avoid sprintf.Bodo Möller
2000-05-16Get rid of more non-ANSI declarations.Ulf Möller
2000-05-02In Message-ID: <003201bfb332$14a07520$0801a8c0@janm.transactionsite.com>,Richard Levitte
"Jan Mikkelsen" <janm@transactionsite.com> correctly states that the OpenSSL header files have #include's and extern "C"'s in an incorrect order. Thusly fixed.
2000-04-09"make update"Richard Levitte
2000-04-07In theory, TLS v1 ciphersuites are not the same as SSL v3 ciphersuitesBodo Möller
2000-04-07Avoid memory leak.Bodo Möller
2000-03-27Comments for SSL_get_peer_cert_chain inconsistency.Bodo Möller
2000-03-26NeXT workaround.Bodo Möller
2000-03-14Use correct function names in SSLerr macros.Bodo Möller
2000-03-13Update usage infoBodo Möller
2000-03-13Update test suite so that 'make test' succeeds in 'no-rsa' configuration.Bodo Möller
2000-03-13Copy DH key (if available) in addition to the bare parametersBodo Möller
in SSL_new. If SSL_OP_SINGLE_DH_USE is set, don't waste time in SSL_[CTX_]set_tmp_dh on computing a DH key that will be ignored anyway. ssltest -dhe1024dsa (w/ 160-bit sub-prime) had an unfair performance advantage over -dhe1024 (safe prime): SSL_OP_SINGLE_DH_USE was effectively always enabled because SSL_new ignored the DH key set in the SSL_CTX. Now -dhe1024 takes the server only about twice as long as -dhe1024dsa instead of three times as long (for 1024 bit RSA with 1024 bit DH).
2000-03-13Connection timings (using ISO C function clock()).Bodo Möller
2000-03-13cleaning up a littleBodo Möller
2000-03-10Always use fixed DH parameters created with 'dhparam -C',Bodo Möller
don't dynamically create them. This allows using ssltest for approximate performance comparisons: $ time ./ssltest -num 50 -tls1 -cert ../apps/server2.pem \ [-no_dhe|-dhe1024dsa|-dhe1024] (server2.pem contains a 1024 bit RSA key, the default has only 512 bits.) Note that these timings contain both the server's and the client's computations, they are not a good indicator for server workload in different configurations.
2000-03-06Fix the indentation, and avoid a compiler warning.Bodo Möller
2000-03-06Let's not lie to the people.Richard Levitte
2000-03-05Preserve reason strings in automatically build tables.Bodo Möller
2000-02-27New logical names to skip algorithms are now supported.Richard Levitte
2000-02-26Fix shadow warning.Dr. Stephen Henson
2000-02-26Some time in history, SSL_CTX_sessions() disappeared. It is nowRichard Levitte
restored, but not as a macro this time...
2000-02-25Use unsigned loop index to make compilers happyBodo Möller
2000-02-25The previous revision should have generated _more_ warnings, not less ...Bodo Möller
The return value of handshake_func is signed, not unsigned.
2000-02-25More VC++ pickiness. (destest.c doesn't have a "return" and the usualGeoff Thorpe
signed/unsigned stuff in s3_pkt.c) Submitted by: Reviewed by: PR: