- 20 12月, 2000 1 次提交
-
-
由 Bodo Möller 提交于
Submitted by: draslar <draslar@elray.ch>
-
- 14 12月, 2000 1 次提交
-
-
由 Richard Levitte 提交于
functions need to be constified, and therefore meant a number of easy changes a little everywhere. Now, if someone could explain to me why OBJ_dup() cheats...
-
- 04 12月, 2000 1 次提交
-
-
由 Geoff Thorpe 提交于
so these macros probably shouldn't be used like that at all. So, this change removes the misleading comment and also adds an implicit trailing semi-colon to the DECLARE macros so they too don't require one.
-
- 03 12月, 2000 1 次提交
-
-
由 Geoff Thorpe 提交于
IMPLEMENT macros for defining wrapper functions for "hash" and "cmp" callbacks that are specific to the underlying item type in a hash-table. This prevents function pointer casting altogether, and also provides some type-safety because the macro does per-variable casting from the (void *) type used in LHASH itself to the type declared in the macro - and if that doesn't match the prototype expected by the "hash" or "cmp" function then a compiler error will result. NB: IMPLEMENT macros are not required unless predeclared forms are required (either in a header file, or further up in a C file than the implementation needs to be). The DECLARE macros must occur after the type-specific hash/cmp callbacks are declared. Also, the IMPLEMENT and DECLARE macros are such that they can be prefixed with "static" if desired and a trailing semi-colon should be appended (making it look more like a regular declaration and easier on auto-formatting text-editors too). Now that these macros are defined, I will next be commiting changes to a number of places in the library where the casting was doing bad things. After that, the final step will be to make the analogous changes for the lh_doall and lh_doall_arg functions (more specifically, their callback parameters).
-
- 02 12月, 2000 1 次提交
-
-
由 Geoff Thorpe 提交于
casts) used in the lhash code are about as horrible and evil as they can be. For starters, the callback prototypes contain empty parameter lists. Yuck. This first change defines clearer prototypes - including "typedef"'d function pointer types to use as "hash" and "compare" callbacks, as well as the callbacks passed to the lh_doall and lh_doall_arg iteration functions. Now at least more explicit (and clear) casting is required in all of the dependant code - and that should be included in this commit. The next step will be to hunt down and obliterate some of the function pointer casting being used when it's not necessary - a particularly evil variant exists in the implementation of lh_doall.
-
- 08 11月, 2000 1 次提交
-
-
由 Richard Levitte 提交于
I didn't apply all his patches yet, since I have some hesitance about unconstifying. To be pondered.
-
- 25 9月, 2000 1 次提交
-
-
由 Richard Levitte 提交于
acceptable, since all that happens if it fails is a library with an index, which makes linking slower, but still working correctly.
-
- 07 9月, 2000 1 次提交
-
-
由 Richard Levitte 提交于
-
- 13 6月, 2000 1 次提交
-
-
由 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.
-
- 09 6月, 2000 1 次提交
-
-
由 Richard 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.
-
- 02 6月, 2000 1 次提交
-
-
由 Richard 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.
-
- 02 5月, 2000 1 次提交
-
-
由 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.
-
- 18 3月, 2000 1 次提交
-
-
由 Bodo Möller 提交于
-
- 04 3月, 2000 1 次提交
-
-
由 Bodo Möller 提交于
-
- 04 2月, 2000 1 次提交
-
-
由 Ulf Möller 提交于
-
- 31 1月, 2000 2 次提交
-
-
由 Ulf Möller 提交于
-
由 Ulf Möller 提交于
eliminate some of the -Wcast-qual warnings (debug-ben-strict target)
-
- 24 1月, 2000 1 次提交
-
-
由 Dr. Stephen Henson 提交于
Tidy up CRYPTO_EX_DATA structures.
-
- 21 5月, 1999 3 次提交
-
-
由 Bodo Möller 提交于
in cryptlib.h (which is often included as "../cryptlib.h"), then the question remains relative to which directory this is to be interpreted. gcc went one further directory up, as intended; but makedepend thinks differently, and so probably do some C compilers. So the ../ must go away; thus e_os.h goes back into include/openssl (but I now use #include "openssl/e_os.h" instead of <openssl/e_os.h> to make the point) -- and we have another huge bunch of dependency changes. Argh.
-
由 Bodo Möller 提交于
There were problems with putting e_os.h just into the top directory, because the test programs are compiled within test/ in the "standard" case in in their original directories in the makefile.one case; and in the latter symlinks may not be available.
-
由 Bodo Möller 提交于
include file.
-
- 15 5月, 1999 1 次提交
-
-
由 Bodo Möller 提交于
-
- 30 4月, 1999 2 次提交
-
-
由 Bodo Möller 提交于
Submitted by: Reviewed by: PR:
-
由 Ulf Möller 提交于
Submitted by: Anonymous
-
- 29 4月, 1999 2 次提交
-
-
由 Bodo Möller 提交于
Submitted by: Reviewed by: PR:
-
由 Bodo Möller 提交于
Submitted by: Reviewed by: PR:
-
- 27 4月, 1999 2 次提交
-
-
由 Ulf Möller 提交于
-
由 Ulf Möller 提交于
-
- 25 4月, 1999 2 次提交
-
-
由 Bodo Möller 提交于
Submitted by: Reviewed by: PR:
-
由 Bodo Möller 提交于
Submitted by: Reviewed by: PR:
-
- 24 4月, 1999 3 次提交
-
-
由 Dr. Stephen Henson 提交于
script, translates function codes better and doesn't need the K&R function prototypes to work (NB. the K&R prototypes can't be wiped just yet: they are still needed by the DEF generator...). I also ran the script with the -rewrite option to update all the header and source files.
-
由 Bodo Möller 提交于
Submitted by: Reviewed by: PR:
-
由 Bodo Möller 提交于
Submitted by: Reviewed by: PR:
-
- 20 4月, 1999 1 次提交
-
-
由 Ulf Möller 提交于
-
- 18 4月, 1999 1 次提交
-
-
由 Ben Laurie 提交于
-
- 01 4月, 1999 1 次提交
-
-
由 Ulf Möller 提交于
-
- 22 3月, 1999 1 次提交
-
-
由 Ben Laurie 提交于
-
- 06 3月, 1999 2 次提交
-
-
由 Ben Laurie 提交于
-
由 Ralf S. Engelschall 提交于
consistent in the source tree and replaced `/bin/rm' by `rm'. Additonally cleaned up the `make links' target: Remove unnecessary semicolons, subsequent redundant removes, inline point.sh into mklink.sh to speed processing and no longer clutter the display with confusing stuff. Instead only the actually done links are displayed.
-
- 20 1月, 1999 1 次提交
-
-
由 Ben Laurie 提交于
-