import OpenSSL-1.0.0a
import OpenSSL-1.0.1c
revert, thanks sthen
KNF.
KNF.
in BN_clear_free, don't cleanse the data if the static data flag is set.
much debugging work done by otto. ok miod otto.

side note: BN_FLG_STATIC_DATA doesn't actually mean the data is static.
it's also used to indicate the data may be secretly shared behind your back
as a sort of poor man's refcounting, but without the refcounting.
with the first bug it uncovered fixed, clear all bignums again.

i've never worked on codebase so resistant to efforts to improve it.
don't free memory unless we allocated it.
reported to openssl by David Ramos (rt 3338)
stealing commit from logan, who's run away. ok miod.
less than jpake
Get __STRICT_ALIGNMENT from <machine/endian.h> and decide upon it, rather
than defining it for not (i386 and amd64 (and sometimes s390)) only.

Compile-time tests remain compile-time tests, and runtime-test remain
runtime-test instead of being converted to compile-time tests, per matthew@'s
explicit demand (rationale: this makes sure the compiler checks your code even
if you won't run it).

No functional change except on s390 (which we don't run on) and vax (which we
run on, but noone cares about)

ok matthew@
import of openssl-0.9.7g; tested on platforms from alpha to zaurus, ok deraadt@
import of OpenSSL 0.9.8h
import OpenSSL-1.0.0a
kill some more VMS ifdefs
ok miod@
Emergency knfectomie requested by tedu@.
knfectomie.
KNF.
Nuke OPENSSL_FIPS - having #ifdefs inside a #ifndef for the same thing
is amusing.

ok deraadt@
KNF.
Remove KSSL debug code.

"fire bomb" tedu@