| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
| |
automatically, however some code was still referring to the original
pointer rather than the internal one (and thus to NULL instead of the
created pointer).
|
| |
|
|
|
|
| |
At the same time, add VMS support for Rijndael.
|
|
|
|
| |
extension .sl instead of .so.
|
|
|
|
|
|
| |
translate library names by only adding ".so" to them without
prepending them with "lib". Add the flag DSO_FLAG_NAME_TRANSLATION_EXT_ONLY
for that purpose.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
|
|
|
| |
causes MASM to complain and not produce valid debug info.
Hopefully this wont break anything else...
Also fix typo in e_rd.c
|
|
|
|
| |
pointers at the end of the structure.
|
|
|
|
|
|
| |
by providing a function pointer that is given a name instead of a BIO.
For example, this could be used to load configuration data from an
LDAP server.
|
|
|
|
|
|
| |
NCONF_get_number_e() is defined (_e for "error checking") and is
promoted strongly. The old NCONF_get_number is kept around for
binary backward compatibility.
|
|
|
|
|
|
| |
Submitted by:
Reviewed by:
PR:
|
| |
|
| |
|
|
|
|
| |
make update done.
|
| |
|
|
|
|
|
|
|
| |
Actually, it's a feature that it goes looking at environment
variables. It's just a pity that it's at the cost of the error
checking... I'll see if I can come up with a better interface for
this.
|
| |
|
|
|
|
| |
returns -1...
|
|
|
|
| |
thus the condition '!BIO_sock_init()' doesn't make sense.
|
|
|
|
| |
so I've regenerated the error numbers and strings for the DSO functions.
|
|
|
|
| |
These are now processed inside DSO_ctrl() itself.
|
|
|
|
| |
commands are common to all DSO_METHODs, hence handle them at the top.
|
| |
|
|
|
|
|
|
| |
Add support for X509_NAME_print_ex() in req.
Initial code for cutomizable X509 print routines.
|
| |
|
|
|
|
|
| |
acceptable, since all that happens if it fails is a library with
an index, which makes linking slower, but still working correctly.
|
|
|
|
| |
selection macros.
|
| |
|
| |
|
|
|
|
|
|
| |
specifically ask for them.
Fix typo in docs.
|
| |
|
| |
|
| |
|
|
|
|
| |
work better in Win32. Verified by zhu qun-ying <qyzhu@krdl.org.sg>.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
record-oriented fashion. That means that every write() will write a
separate record, which will be read separately by the programs trying
to read from it. This can be very confusing.
The solution is to put a BIO filter in the way that will buffer text
until a linefeed is reached, and then write everything a line at a
time, so every record written will be an actual line, not chunks of
lines and not (usually doesn't happen, but I've seen it once) several
lines in one record. Voila, BIO_f_linebuffer() is born.
Since we're so close to release time, I'm making this VMS-only for
now, just to make sure no code is needlessly broken by this. After
the release, this BIO method will be enabled on all other platforms as
well.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
BN_mod_mul_montgomery, which calls bn_sqr_recursive
without much preparation.
bn_sqr_recursive requires the length of its argument to be
a power of 2, which is not always the case here.
There's no reason for not using BN_sqr -- if a simpler
approach to squaring made sense, then why not change
BN_sqr? (Using BN_sqr should also speed up DH where g is chosen
such that it becomes small [e.g., 2] when converted
to Montgomery representation.)
Case closed :-)
|
|
|
|
|
| |
make disabled code slightly more correct (this does not solve
the problem though).
|
|
|
|
|
| |
in 0.9.6-beta1 and 0.9.6-beta2 and caused the BN_mont_exp_mont_word()
failure (bug report "openssh 2.2.0p1 fails with openssl 0.9.6-beta1").
|
| |
|
| |
|
|
|
|
|
| |
so disable that part.
Reported by Jeffrey Altman <jaltman@columbia.edu>
|
| |
|
|
|
|
| |
disagree on the proper syntax and type names.
|
| |
|
|
|
|
| |
use of LOadLibrary instead of GetModuleHandle
|
|
|
|
| |
accordingly.
|