| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
| |
With this change the tests pass when linked against a static library
built in the normal (non-amalgamation) fashion.
Remove the restriction in configure.py, and have circleci build the
clang static build as a non-amalg.
|
|
|
|
|
|
|
|
| |
* Rename variable to avoid confusion of build_shared and
options.build_shared_lib
* Don't automatically change shared -> static. Force user to do that
Fixes #211
|
| |
|
|
|
|
|
|
| |
Allow multiple ABI link flags with the same name, e.g.,
-arch armv7 -arch armv7s when cross-compiling
for iOS. This is the first fix necessary for fixing #188.
|
|
|
|
| |
Fixes #241
|
| |
|
|
|
|
|
|
|
|
| |
* Increase minimal python version to 2.7
* Remove monotone revision command
* Set choices for --link-method argument
Closes #217
|
| |
|
|
|
|
| |
Thanks to @vlajos https://github.com/vlajos/misspell_fixer
|
|
|
|
|
|
|
| |
Before a typo in a module name was a warning. It now is an error because
it is potentially harmful.
[ci skip]
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
This commit aims to preserve all settings. In some cases it will drop
optimization flags and fall back to compiler's defaults in the new debug
mode.
|
|
|
|
|
|
| |
--gen-amalgamation does not use amalgamation in the Makefile
[ci skip]
|
| |
|
|
|
|
| |
Closes #128.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Includes must be unique per .cpp file, not globally. Fixes #105
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
This makes setting LD_LIBRARY_PATH obsolete when Botan lib and botan
/botan-test binary are in the same directory. This behavior is default
on Windows.
LD_LIBRARY_PATH can still be used to override the RPATH.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Remove unused make variables VERSION, BRANCH
- Move first make all target below all variable definitions
- Move "Executable targets" as well as "LIBNAME" from header.in into
gmake.in and nmake.in. Those variables differ more than they share
and are getting too abstract.
- Use new variable names: LIB_BASENAME, LIB_FILENAME. Drop LIBNAME and
BOTAN_LIB
- Write libs to out_dir now, which enables out-of-tree builds
GH #110, replaces #70 #106 #107 fixes #85
|
|
|
|
| |
the mailing list.
|
| |
|
|
|
|
| |
encoding= flags since they are not needed anymore and broke Python2.
|
| |
|
|
|
|
|
| |
Read and write the amalgamation as latin1 so python3 treats it as just bits
instead of invalid UTF8
|
| |
|
|
|
|
|
|
| |
JOM is a nmake-compatible tool for Windows which supports -jN for
parallel builds. JOM's $? variable is broken, but this workaround
is simple. Github pull 66 from Simon Warta.
|
| |
|
|
|
|
|
|
| |
If we're building via amalgamation then we need to edit what goes into
the makefile. That requires the amalgamation run before the makefile
since we don't know how many files there will be until we do the scan.
|
|
|
|
|
| |
build.h exists. Otherwise an amalg build with a clean working dir
will fail because build.h is not found. Github issue 57.
|
| |
|
| |
|
|
|
|
|
| |
alternate implementation for Unix and add some feature checks so a
boost-free build of the tests and command line are possible again.
|
|
|
|
|
|
|
|
|
|
|
|
| |
ctypes Python wrapper that uses it. The API is intentionally designed
to have a very simple ABI (extern "C", all structs are opaque, no
memory ownership passing the FFI boundary, limited set of simple types
as args) so the ctypes wrapper is quite simple.
Currently ffi provides ciphers, hashes, MACs, RNGs, PBKDF, KDF,
bcrypt, and most public key operations.
Remove the old boost.python wrapper and all the build code for it.
|
|
|
|
|
|
| |
notify the user when they are enabled.
Drop botan-config, replaced by `botan config` command added in 1.11.8
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Convert all uses of Algorithm_Factory and the engines to using Algo_Registry
The shared pool of entropy sources remains but is moved to EntropySource.
With that and few remaining initializations (default OIDs and aliases)
moved elsewhere, the global state is empty and init and shutdown are no-ops.
Remove almost all of the headers and code for handling the global
state, except LibraryInitializer which remains as a compatability stub.
Update seeding for blinding so only one hacky almost-global RNG
instance needs to be setup instead of across all pubkey uses (it uses
either the system RNG or an AutoSeeded_RNG if the system RNG is not
available).
|