- Apr 18, 2001
-
-
Geoff Thorpe authored
Previously RAND_get_rand_method was returning a non-const pointer, but it should be const. As with all other such cases, METHOD pointers are stored and returned as "const". The only methods one should be able to alter are methods "local" to the relevant code, in which case a non-const handle to the methods should already exist. This change has been forced by the constifying of the ENGINE code (before which RAND_METHOD was the only method pointer in an ENGINE structure that was not constant).
-
Geoff Thorpe authored
ENGINE handler functions should take the ENGINE structure as a parameter - this is because ENGINE structures can be copied, and like other structure/method setups in OpenSSL, it should be possible for init(), finish(), ctrl(), etc to adjust state inside the ENGINE structures rather than globally. This commit includes the dependant changes in the ENGINE implementations.
-
Geoff Thorpe authored
Previous changes permanently removed the commented-out old code for where it was possible to create and use an ENGINE statically, and this code gets rid of the ENGINE_FLAGS_MALLOCED flag that supported the distinction with dynamically allocated ENGINEs. It also moves the area for ENGINE_FLAGS_*** values from engine_int.h to engine.h - because it should be possible to declare ENGINEs just from declarations in exported headers.
-
Geoff Thorpe authored
* Constify the get/set functions, and add some that functions were missing. * Add a new 'ENGINE_cpy()' function that will produce a new ENGINE based copied from an original (except for the references, ie. the new copy will be like an ENGINE returned from 'ENGINE_new()' - a structural reference). * Removed the "null parameter" checking in the get/set functions - it is legitimate to set NULL values as a way of *changing* an ENGINE (ie. removing a handler that previously existed). Also, passing a NULL pointer for an ENGINE is obviously wrong for these functions, so don't bother checking for it. The result is a number of error codes and strings could be removed.
-
Geoff Thorpe authored
to ENGINE_free(). Also, remove "#if 0" code that has no useful future.
-
Geoff Thorpe authored
-
- Apr 17, 2001
-
-
Geoff Thorpe authored
-
Lutz Jänicke authored
-
- Apr 16, 2001
-
-
Ben Laurie authored
-
- Apr 14, 2001
-
-
Lutz Jänicke authored
-
- Apr 12, 2001
-
-
Lutz Jänicke authored
-
Lutz Jänicke authored
(follows from technical discussion with Amit Chopra <amitc@pspl.co.in>).
-
Bodo Möller authored
-
Bodo Möller authored
-
Bodo Möller authored
-
Lutz Jänicke authored
-
- Apr 11, 2001
-
-
Richard Levitte authored
-
Richard Levitte authored
-
Richard Levitte authored
to subjectAltName when signing a certificate.
-
Richard Levitte authored
extension instead of just copying it. That makes a certificate comply even more with PKIX recommendations according to RFC 2459.
-
Bodo Möller authored
verified by looking at 'diff -u ../openssl-0.9.6a/CHANGES CHANGES')
-
Richard Levitte authored
-
- Apr 10, 2001
-
-
Bodo Möller authored
0.9.5 is obsolete, so we don't have to discuss its 'openssl rsa' seeding bug.
-
- Apr 09, 2001
-
-
Lutz Jänicke authored
-
Lutz Jänicke authored
are however still common and are solved by checking config.log.
-
Richard Levitte authored
-
Bodo Möller authored
Ultra-Sparcs (both 32-bit and 64-bit compilations)
-
Bodo Möller authored
-
- Apr 08, 2001
-
-
Bodo Möller authored
-
Bodo Möller authored
-
Bodo Möller authored
-
Bodo Möller authored
-
Bodo Möller authored
also 'test' appears to be available as '[' only in 'if' conditions.
-
Bodo Möller authored
-
Lutz Jänicke authored
-
Richard Levitte authored
Protect against future mistakes with an assert().
-
Richard Levitte authored
Spotted by Harald Koch <chk@pobox.com>
-
- Apr 05, 2001
-
-
Bodo Möller authored
(we don't have an ASN1_TEMPLATE to complain about at this stage, so errtt == NULL should be OK)
-
Richard Levitte authored
(provided by Stephen)
-
Richard Levitte authored
-