- 06 5月, 2015 1 次提交
-
-
由 Rich Salz 提交于
Just as with the OPENSSL_malloc calls, consistently use sizeof(*ptr) for memset and memcpy. Remove needless casts for those functions. For memset, replace alternative forms of zero with 0. Reviewed-by: NRichard Levitte <levitte@openssl.org>
-
- 05 5月, 2015 1 次提交
-
-
由 Rich Salz 提交于
For a local variable: TYPE *p; Allocations like this are "risky": p = OPENSSL_malloc(sizeof(TYPE)); if the type of p changes, and the malloc call isn't updated, you could get memory corruption. Instead do this: p = OPENSSL_malloc(sizeof(*p)); Also fixed a few memset() calls that I noticed while doing this. Reviewed-by: NRichard Levitte <levitte@openssl.org>
-
- 01 5月, 2015 1 次提交
-
-
由 Rich Salz 提交于
Don't check for NULL before calling OPENSSL_free Reviewed-by: NRichard Levitte <levitte@openssl.org>
-
- 29 4月, 2015 1 次提交
-
-
由 Rich Salz 提交于
Following ANSI C rules, remove the casts from calls to OPENSSL_malloc and OPENSSL_realloc. Reviewed-by: NRichard Levitte <levitte@openssl.org>
-
- 31 1月, 2015 1 次提交
-
-
由 Rich Salz 提交于
Mostly, but not completely, debugging print statements. Some old logic kept for internal documentation reasons, perhaps. Reviewed-by: NRichard Levitte <levitte@openssl.org>
-
- 22 1月, 2015 1 次提交
-
-
由 Matt Caswell 提交于
Reviewed-by: NTim Hudson <tjh@openssl.org>
-
- 19 12月, 2012 1 次提交
-
-
由 Andy Polyakov 提交于
-
- 15 7月, 2009 1 次提交
-
-
由 Dr. Stephen Henson 提交于
-
- 29 12月, 2008 1 次提交
-
-
由 Andy Polyakov 提交于
-
- 04 6月, 2008 1 次提交
-
-
由 Dr. Stephen Henson 提交于
-
- 23 10月, 2006 1 次提交
-
-
由 Andy Polyakov 提交于
-
- 16 1月, 2006 1 次提交
-
-
由 Dr. Stephen Henson 提交于
-
- 09 1月, 2006 1 次提交
-
-
由 Bodo Möller 提交于
-
- 02 1月, 2006 3 次提交
-
-
由 Andy Polyakov 提交于
-
由 Andy Polyakov 提交于
-
由 Andy Polyakov 提交于
-
- 31 12月, 2005 1 次提交
-
-
由 Andy Polyakov 提交于
for further details.
-
- 19 12月, 2005 1 次提交
-
-
由 Andy Polyakov 提交于
-
- 01 11月, 2005 1 次提交
-
-
由 Richard Levitte 提交于
-
- 04 8月, 2005 1 次提交
-
-
由 Andy Polyakov 提交于
-
- 02 8月, 2005 1 次提交
-
-
由 Andy Polyakov 提交于
-
- 25 7月, 2005 1 次提交
-
-
由 Andy Polyakov 提交于
-
- 28 6月, 2005 1 次提交
-
-
由 Andy Polyakov 提交于
-
- 10 6月, 2005 1 次提交
-
-
由 Andy Polyakov 提交于
-
- 06 6月, 2005 1 次提交
-
-
由 Andy Polyakov 提交于
by an address within it. Tested on Linux, Solaris, IRIX, Tru64, Darwin, HP-UX, Win32, few BSD flavors...
-
- 11 5月, 2005 1 次提交
-
-
由 Bodo Möller 提交于
(Also improve util/ck_errf.pl script, and occasionally fix source code formatting.)
-
- 12 3月, 2005 1 次提交
-
-
由 Andy Polyakov 提交于
-
- 16 11月, 2002 1 次提交
-
-
由 Richard Levitte 提交于
-
- 06 10月, 2002 1 次提交
-
-
由 Dr. Stephen Henson 提交于
Resolve signed/unsigned conflicts Make dso_win32.c compile.
-
- 15 7月, 2002 1 次提交
-
-
由 Richard Levitte 提交于
mechanism to the ENGINE framework. This means there there are going to be new functionality for the DSO part, and ultimately some way of merging two file specifications together. This commit places the merging code into the repository. It's currently not used anywhere, and hasn't been tested at all. It may be full of errors, including syntactical ones. Those will be fixed as promptly as possible.
-
- 26 4月, 2001 1 次提交
-
-
由 Geoff Thorpe 提交于
or symbol name to the error stack in the event a load or bind operation failed.
-
- 20 2月, 2001 1 次提交
-
-
由 Richard Levitte 提交于
missed any. This compiles and runs on Linux, and external applications have no problems with it. The definite test will be to build this on VMS.
-
- 27 10月, 2000 1 次提交
-
-
由 Geoff Thorpe 提交于
appropriate filename translation on the host system. Apart from this point, users should also note that there's a slight change in the API functions too. The DSO now contains its own to-be-converted filename ("dso->filename"), and at the time the DSO loads the "dso->loaded_filename" value is set to the translated form. As such, this also provides an impicit way of determining if the DSO is currently loaded or not. Except, perhaps, VMS .... :-) The various DSO_METHODs have been updated for this mechanism except VMS which is deliberately broken for now, Richard is going to look at how to fit it in (the source comments in there explain "the issue"). Basically, the new callback scheme allows the filename conversion to (a) be turned off altogether through the use of the DSO_FLAG_NO_NAME_TRANSLATION flag, (b) be handled in the default way using the default DSO_METHOD's converter (c) overriden per-DSO by setting the override callback (d) a mix of (b) and (c) - eg. implement an override callback that; (i) checks if we're win32 "if(strstr(dso->meth->name, "win32"))..." and if so, convert "blah" into "blah32.dll" (the default is otherwise to make it "blah.dll"). (ii) default to the normal behaviour - eg. we're not on win32, so finish with (return dso->meth->dso_name_converter(dso,NULL)). (e) be retried a number of times by writing a new DSO_METHOD where the "dso_load()" handler will call the converter repeatedly. Then the custom converter could use state information in the DSO to suggest different conversions or paths each time it is invoked.
-
- 09 10月, 2000 1 次提交
-
-
由 Geoff Thorpe 提交于
These are now processed inside DSO_ctrl() itself.
-
- 24 6月, 2000 1 次提交
-
-
由 Geoff Thorpe 提交于
just converting some spaces to tabs from his fix. :-)
-
- 21 6月, 2000 1 次提交
-
-
由 Dr. Stephen Henson 提交于
Fixes for Win32 build. 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 :-)
-
- 16 6月, 2000 1 次提交
-
-
由 Geoff Thorpe 提交于
"symbols" including functions (of all prototypes( and variables. Whilst casting any function type to another violates ANSI C (I believe), it is a necessary evil in shared-library APIs. However, it is quite conceivable that functions in general and data symbols could very well be represented differently to each other on some systems, as Bodo said; > Since the function/object distinction is a lot more likely to be > important on real-life platforms supporting DSO *and* it can be quite > easily done *and* it will silence compilers that don't like > assignments from void pointers to function pointer variables, why > not do it? I agree. So this change splits the "dso_bind" handler in DSO_METHOD into "dso_bind_var" and "dso_bind_func". Similarly the exported function DSO_bind() has been split in two. I've also put together changes for the various DSO_METHOD implementations, but so far only DSO_dlfcn() has been tested. BTW: The prototype for dso_bind had been a bit strange so I've taken the opportunity to change its shape (in both variations). Also, the README has been updated - particularly with a note about using customised native name-translation for shared libraries (and that you can't do it yet).
-
- 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.
-
- 29 5月, 2000 2 次提交
-
-
由 Geoff Thorpe 提交于
-
由 Geoff Thorpe 提交于
-