- 21 6月, 2000 1 次提交
-
-
由 Dr. Stephen Henson 提交于
Handle ASN1_SET_OF and PKCS12_STACK_OF using function casts in the same way as STACK_OF.
-
- 20 6月, 2000 1 次提交
-
-
由 Geoff Thorpe 提交于
-
- 18 6月, 2000 2 次提交
-
-
由 Richard Levitte 提交于
be needed in some ENGINE code, and might serve elsewhere as well. Note that it's implemented in such a way that the locking itself is done through the same CRYPTO_lock function as the static locks. WARNING: This is currently experimental and untested code (it will get tested soon, though :-)).
-
由 Bodo Möller 提交于
sk_whatever_insert and sk_whatever_set immediately reveals the subtle difference in parameter order. Change mkstack.pl so that safestack.h is not rewritten when nothing has changed.
-
- 17 6月, 2000 1 次提交
-
-
由 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.
-
- 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 次提交
-
-
由 Bodo Möller 提交于
-
- 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.
-
- 01 6月, 2000 3 次提交
-
-
由 Geoff Thorpe 提交于
structures and functions for each stack type. The previous behaviour can be enabled by configuring with the "-DDEBUG_SAFESTACK" option. This will also cause "make update" (mkdef.pl in particular) to update the libeay.num and ssleay.num symbol tables with the number of extra functions DEBUG_SAFESTACK creates. The way this change works is to accompany each DECLARE_STACK_OF() macro with a set of "#define"d versions of the sk_##type##_*** functions that ensures all the existing "type-safe" stack calls are precompiled into the underlying stack calls. The presence or abscence of the DEBUG_SAFESTACK symbol controls whether this block of "#define"s or the DECLARE_STACK_OF() macro is taking effect. The block of "#define"s is in turn generated and maintained by a perl script (util/mkstack.pl) that encompasses the block with delimiting C comments. This works in a similar way to the auto-generated error codes and, like the other such maintenance utilities, is invoked by the "make update" target. A long (but mundane) commit will follow this with the results of "make update" - this will include all the "#define" blocks for each DECLARE_STACK_OF() statement, along with stripped down libeay.num and ssleay.num files.
-
由 Geoff Thorpe 提交于
same one). However, the first will temporarily break things until the second comes through. :-) The safestack.h handling was mapping compare callbacks that externally are of the type (int (*)(type **,type **)) into the underlying callback type used by stack.[ch], which is (int (*)(void *,void *)). After some degree of digging, it appears that the callback type in the underlying stack code should use double pointers too - when the compare operations are invoked (from sk_find and sk_sort), they are being used by bsearch and qsort to compare two pointers to pointers. This change corrects the prototyping (by only casting to the (void*,void*) form at the moment it is needed by bsearch and qsort) and makes the mapping in safestack.h more transparent. It also changes from "void*" to "char*" to stay in keeping with stack.[ch]'s assumed base type of "char". Also - the "const" situation was that safestack.h was throwing away "const"s, and to compound the problem - a close examination of stack.c showed that (const char **) is not really achieving what it is supposed to when the callback is being invoked, what is needed is (const char * const *). So the underlying stack.[ch] and the mapping macros in safestack.h have all been altered to correct this. What will follow are the vast quantities of "const" corrections required in stack-dependant code that was being let "slip" through when safestack.h was discarding "const"s. These now all come up as compiler warnings.
-
由 Geoff Thorpe 提交于
Also, add in a couple of missing declarations in pkcs7 code.
-
- 31 5月, 2000 1 次提交
-
-
由 Geoff Thorpe 提交于
cast their type-specific STACK into a real STACK and call the underlying sk_*** function. The problem is that if the STACK_OF(..) parameter being passed in has a "const *" qualifier, it is discarded by the cast. I'm currently implementing a fix for this but in the mean-time, this is one case I noticed (a few type-specific sk_**_num() functions pass in const type-specific stacks). If there are other errors in the code where consts are being discarded, we will similarly not notice them. yuck.
-
- 17 5月, 2000 1 次提交
-
-
由 Ben Laurie 提交于
-
- 16 5月, 2000 1 次提交
-
-
由 Ulf Möller 提交于
-
- 04 2月, 2000 1 次提交
-
-
由 Ulf Möller 提交于
-
- 31 1月, 2000 1 次提交
-
-
由 Ulf Möller 提交于
-
- 24 1月, 2000 1 次提交
-
-
由 Dr. Stephen Henson 提交于
Tidy up CRYPTO_EX_DATA structures.
-
- 26 11月, 1999 1 次提交
-
-
由 Dr. Stephen Henson 提交于
Extend the X509_PURPOSE structure to include shortnames for purposed and default trust ids. Still need some extendable trust checking code and integration with the SSL and S/MIME code.
-
- 30 5月, 1999 1 次提交
-
-
由 Ben Laurie 提交于
-
- 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.
-
- 19 5月, 1999 1 次提交
-
-
由 Dr. Stephen Henson 提交于
to minimise the effects on existing code.
-
- 15 5月, 1999 1 次提交
-
-
由 Bodo Möller 提交于
-
- 04 5月, 1999 2 次提交
-
-
由 Ralf S. Engelschall 提交于
-
由 Ben Laurie 提交于
-
- 03 5月, 1999 1 次提交
-
-
由 Ben Laurie 提交于
-
- 02 5月, 1999 1 次提交
-
-
由 Ben Laurie 提交于
-
- 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 3 次提交
-
-
由 Ulf Möller 提交于
-
由 Dr. Stephen Henson 提交于
-
由 Ulf Möller 提交于
-
- 25 4月, 1999 1 次提交
-
-
由 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 次提交
-
-
由 Dr. Stephen Henson 提交于
-