- 02 Mar, 2001 1 commit
-
-
Richard Levitte authored
functions on platform were that's the best way to handle exporting global variables in shared libraries. To enable this functionality, one must configure with "EXPORT_VAR_AS_FN" or defined the C macro "OPENSSL_EXPORT_VAR_AS_FUNCTION" in crypto/opensslconf.h (the latter is normally done by Configure or something similar). To implement a global variable, use the macro OPENSSL_IMPLEMENT_GLOBAL in the source file (foo.c) like this: OPENSSL_IMPLEMENT_GLOBAL(int,foo)=1; OPENSSL_IMPLEMENT_GLOBAL(double,bar); To declare a global variable, use the macros OPENSSL_DECLARE_GLOBAL and OPENSSL_GLOBAL_REF in the header file (foo.h) like this: OPENSSL_DECLARE_GLOBAL(int,foo); #define foo OPENSSL_GLOBAL_REF(foo) OPENSSL_DECLARE_GLOBAL(double,bar); #define bar OPENSSL_GLOBAL_REF(bar) The #defines are very important, and therefore so is including the header file everywere where the defined globals are used. The macro OPENSSL_EXPORT_VAR_AS_FUNCTION also affects the definition of ASN.1 items, but that structure is a bt different. The largest change is in util/mkdef.pl which has been enhanced with better and easier to understand logic to choose which symbols should go into the Windows .def files as well as a number of fixes and code cleanup (among others, algorithm keywords are now sorted lexicographically to avoid constant rewrites).
-
- 01 Mar, 2001 2 commits
-
-
Lutz Jänicke authored
-
Dr. Stephen Henson authored
Fix bug in copy_email() which would not find emailAddress at start of subject name.
-
- 28 Feb, 2001 1 commit
-
-
Dr. Stephen Henson authored
Fix a bug which caused BN_div to produce the wrong result if rm==num and num < 0.
-
- 27 Feb, 2001 4 commits
-
-
Ulf Möller authored
Submitted by: Henrik Eriksson <henrik.eriksson@axis.com>
-
Ulf Möller authored
-
Ulf Möller authored
-
Richard Levitte authored
Spotted by Pieter Bowman <bowman@math.utah.edu>
-
- 26 Feb, 2001 4 commits
-
-
Dr. Stephen Henson authored
-
Dr. Stephen Henson authored
Enhance OCSP_request_verify() so it finds the signers certificate properly and supports several flags.
-
Richard Levitte authored
Note that all *_it variables are suddenly non-existant according to libeay.num. This is a bug that will be corrected. Please be patient.
-
Richard Levitte authored
-
- 25 Feb, 2001 1 commit
-
-
Dr. Stephen Henson authored
the errant field for more ASN1 error conditions.
-
- 24 Feb, 2001 3 commits
-
-
Dr. Stephen Henson authored
-
Dr. Stephen Henson authored
Print out OID of unknown signature or public key algorithms.
-
Dr. Stephen Henson authored
key algorithms and leaking if the signature verify fails.
-
- 23 Feb, 2001 11 commits
-
-
Lutz Jänicke authored
-
Lutz Jänicke authored
-
Ulf Möller authored
like to use libtool, but not automake. Let's investigate that further, or leave the question open for now.
-
Ulf Möller authored
-
Dr. Stephen Henson authored
or serial number.
-
Dr. Stephen Henson authored
-
Dr. Stephen Henson authored
prototype hack. This unfortunately means that every ASN1_*_END construct cannot have a trailing ;
-
Richard Levitte authored
-
Dr. Stephen Henson authored
change the way ASN1 modules are exported. Still needs a bit of work for example the hack which a dummy function prototype to avoid compilers warning about multiple ;s.
-
Geoff Thorpe authored
-
Geoff Thorpe authored
an SSL_CTX's session cache, it is necessary to compare the ssl_version at the same time (a conflict is defined, courtesy of SSL_SESSION_cmp(), as a matching id/id_length pair and a matching ssl_version). However, the SSL_SESSION that will result from the current negotiation does not necessarily have the same ssl version as the "SSL_METHOD" in use by the SSL_CTX - part of the work in a handshake is to agree on an ssl version! This is fixed by having the check function accept an SSL pointer rather than the SSL_CTX it belongs to. [Thanks to Lutz for illuminating the full extent of my stupidity]
-
- 22 Feb, 2001 13 commits
-
-
Richard Levitte authored
Define the right macro for Linux and other GNU-based systems to get a correct declaration of strdup()
-
Richard Levitte authored
-
Richard Levitte authored
really see why we need to define these function pointers with MS_FAR if it's not done cosistently everywhere. If we decide to support MS_FAR modifiers, it's better to have the named something more unique for OpenSSL and to define them in e_os2.h.
-
Richard Levitte authored
Define the OPENSSL_NO_* macros as NO_* macros for the sake of applications thathaven't yet been changed
-
Bodo Möller authored
-
Bodo Möller authored
to include (but the OpenSSL_0_9_6-stable branche still has inconsistencies)
-
Bodo Möller authored
-
Richard Levitte authored
and make all files the depend on it include it without prefixing it with openssl/. This means that all Makefiles will have $(TOP) as one of the include directories.
-
Richard Levitte authored
compared to it has the type size_t. Included the needed headers to make that happen.
-
Richard Levitte authored
defined there.
-
Richard Levitte authored
-
Richard Levitte authored
OPENSSL_UNISTD before redefining it, to avoid compiler warnings.
-
Richard Levitte authored
pre-CRYPTO_MEM_LEAK_CB time.
-