- Jun 01, 2000
-
-
Geoff Thorpe authored
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.
-
Ulf Möller authored
-
- May 31, 2000
-
-
Bodo Möller authored
-
Bodo Möller authored
-
Ulf Möller authored
-
Ulf Möller authored
-
Richard Levitte authored
-
Richard Levitte authored
-
Geoff Thorpe authored
which is a cast between NULL and a function pointer.
-
Geoff Thorpe authored
Also, add in a couple of missing declarations in pkcs7 code.
-
Richard Levitte authored
Contributed by Jeremy Norris <jeremy.norris@rebel.com>
-
Bodo Möller authored
-
Bodo Möller authored
not defined, but __SVR4 is.
-
Geoff Thorpe authored
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.
-
Bodo Möller authored
They have nothing to do with the particular PRNG (md_rand.c).
-
Bodo Möller authored
-
- May 30, 2000
-
-
Bodo Möller authored
-
Dr. Stephen Henson authored
More EVP cipher revision. Change EVP_SealInit() and EVP_OpenInit() to handle cipher parameters. Make it possible to set RC2 and RC5 params. Make RC2 ASN1 code use the effective key bits and not the key length. TODO: document how new API works.
-
Geoff Thorpe authored
Also, corrects the linux-elf-arm config string, it was previously setting $des_obj = dlfcn :-)
-
Richard Levitte authored
-
Dr. Stephen Henson authored
Declare ciphers in terms of macros. This reduces the amount of code and places each block cipher EVP definition in a single file instead of being spread over 4 files.
-
Dr. Stephen Henson authored
Declare ciphers in terms of macros. This reduces the amount of code and places each block cipher EVP definition in a single file instead of being spread over 4 files.
-
- May 29, 2000
-
-
Richard Levitte authored
<jeremy.norris@rebel.com>)
-
Geoff Thorpe authored
* speed processes any/all options passed to it, not just one. * DH and DSA have no "_get_method()" functions, only RSA does. * typos.
-
Geoff Thorpe authored
-
Geoff Thorpe authored
not be used because it is not available on all systems (most notably, win32).
-
Geoff Thorpe authored
There's no trace of it being implemented and it doesn't seem to have been intended given that it is prototyped with a BIO yet there was a BIO- specific version added in at the same time.
-
Geoff Thorpe authored
-
- May 28, 2000
-
-
Dr. Stephen Henson authored
Remove duplicated code in EVP.
-
- May 27, 2000
-
-
Bodo Möller authored
-
Dr. Stephen Henson authored
Second phase of EVP cipher overhaul. Change functions like EVP_EncryptUpdate() so they now return a value. These normally have software only implementations which cannot fail so this was acceptable. However ciphers can be implemented in hardware and these could return errors.
-
- May 26, 2000
-
-
Dr. Stephen Henson authored
Beginnings of EVP cipher overhaul. This should eventually enhance and tidy up the EVP interface. This patch adds initial support for variable length ciphers and changes S/MIME code to use this. Some other library functions need modifying to support use of modified cipher parameters. Also need to change all the cipher functions that should return error codes, but currenly don't. And of course it needs extensive testing...
-
- May 25, 2000
-
-
Geoff Thorpe authored
-
Bodo Möller authored
-
Bodo Möller authored
Call dh_tmp_cb with correct 'is_export' flag. Avoid tabs in CHANGES.
-
- May 24, 2000
-
-
Richard Levitte authored
-
Dr. Stephen Henson authored
ASN1 encoding.
-
- May 23, 2000
-
-
Ralf S. Engelschall authored
Submitted by: Arnaud De Timmerman <Arnaud.De.Timmerman@branchur.fr>
-
- May 21, 2000
-
-
Ben Laurie authored
-
Bodo Möller authored
-