aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Disable STRIP_CODE_COMMENTS for Doxygen outputlloyd2009-07-211-1/+1
|
* Fix some unused variable nits pointed out by icc 10.1lloyd2009-07-214-9/+3
|
* Fix install target with configure.pylloyd2009-07-211-2/+4
|
* Fix ticket 46lloyd2009-07-211-8/+13
| | | | | | | | | | | Previous behavior was that if a module was explicitly disabled, the libraries that module used would still be linked in. So for instance configure.pl --disable-modules=pthreads --without-openssl would cause libpthread and libcrypto to be included in the final link! This bug only affected the Perl configure
* One signature of PKCS8::PEM_encode was stray, and didn't have a coorespondinglloyd2009-07-211-5/+0
| | | | | | | | | implementation. This had been the case since at least 1.8.0. Remove it, since implementing this signature would require having the library create an AutoSeeded_RNG, which seems like it might be quite surprising to an unsuspecting user. Problem reported by M. Braun in ticket 44
* Apply some grammatical fixes to api.tex contributed by Charles Brockmanlloyd2009-07-211-90/+90
| | | | in ticket #38
* Move back to pk_codecs, propagate to pubkey-refactor donelloyd2009-07-214-0/+0
|
* Move from pk_codecs to pubkey to solve merge problemlloyd2009-07-214-0/+0
|
* Drop execute attributes on test fileslloyd2009-07-219-0/+0
|
* Set version fields for 1.8.5 rc1lloyd2009-07-214-5/+7
|
* Only append <requires> if at least one deplloyd2009-07-211-6/+10
|
* Fix dependency resolution in configure.pl (same algorithm as configure.py)lloyd2009-07-171-61/+32
| | | | | | | | Fix --enable-asm (had same effect as --disable-asm) Fix mp_bits calculation; took into account both modules which were enabled and ones that were explicitly disabled, for instance ./configure.pl --disable-modules=mp_amd64 -> mp_bits == 64
* Respect --enable-module / --with-blah optionslloyd2009-07-171-0/+4
|
* The previous dependency resolution logic would go into an infinite looplloyd2009-07-171-66/+87
| | | | | when faced with the full set of module interdependencies. Use a new algorithm that handles it OK.
* Fix various auto generated dependencies that were wronglloyd2009-07-178-22/+6
|
* Correct some errors in the automatically generated dependencies.lloyd2009-07-168-7/+3
|
* Add missing info.txt fileslloyd2009-07-162-0/+24
|
* Correct source listings for moved fileslloyd2009-07-162-4/+0
|
* Move some files around to break up dependencies between directorieslloyd2009-07-1632-16/+48
|
* Add a script that reads the output of print_deps.py and rewriteslloyd2009-07-15103-328/+583
| | | | | | the info.txt files with the right module dependencies. Apply it across the codebase.
* Move the contents of pubkey/pubkey (which was kind of a catch-all tolloyd2009-07-1528-18/+6
| | | | | | | just toplevel pubkey). This was a convention I realized made sense sometime on when I was first doing the modularization changes. Move pkcs8.* and x509_key.* to pk_codecs
* Add a script that analyzes the source and prints module dependencies.lloyd2009-07-155-35/+109
| | | | | | | | | Useful for tracking where the big balls of mud are. Fix dependencies in gost_3411 (depends on the gost block cipher), and the TLS PRF (depends on HMAC). Also hide TLS_PRF::P_hash in an anonymous namespace instead of making it a private static function. I don't think this will affect binary compat, since it was statically linked.
* New module load_on directive 'never', to mark known-buggy codelloyd2009-07-154-2/+5
|
* Report modules which are not loaded, grouped by the reason why.lloyd2009-07-151-17/+29
|
* --with-build-dir fixeslloyd2009-07-141-7/+7
|
* merge of 'cd3b49c6cd609a1c81c7200e127063448f2254b7'lloyd2009-07-141-1/+2
|\ | | | | | | and 'e6d5e12d439e2f149f547f1afe47fea14e7863c2'
| * Generate the botan.doxy file in configure.pylloyd2009-07-131-1/+2
| |
* | Add support for a version suffix, so that botan reports its current versionlloyd2009-07-141-29/+32
| | | | | | | | | | | | | | | | as 1.8.5-pre instead of just 1.8.5. This suffix will also be reflected in the shared object soname. Should always be empty for final releases. Also add a --version flag to configure.py to match the one in configure.pl, which prints the current version and exits (same as perl version).
* | Also document Skein fixlloyd2009-07-141-0/+1
| |
* | Document that the test suite returns an error code nowlloyd2009-07-141-0/+1
| |
* | Avoid a crash in Skein_512::add_data if it is called with a zero-lengthlloyd2009-07-141-0/+3
| | | | | | | | input vector.
* | Canonicalize os names (from either uname or --os) against osinfo.aliases;lloyd2009-07-141-2/+12
| | | | | | | | | | noticed by Rickard Bondesson when he tried running configure.py on Solaris, aka SunOS.
* | Bump version numbers to 1.8.5-prelloyd2009-07-144-5/+8
| |
* | Avoid using optparse's append_const action, as it was only added in thelloyd2009-07-141-7/+21
|/ | | | | python 2.5 standard library. Replace it with a callback, which allows configure.py to run out of the box on python 2.4
* Return the test suite result code from main()lloyd2009-07-121-1/+1
|
* Return 1 to system if exception is caught in check proglloyd2009-07-121-0/+2
|
* Update configure.pl's version #1.8.4lloyd2009-07-121-1/+1
|
* Do a 1.8.4 release to fix MR nonce gen buglloyd2009-07-123-2/+5
|
* Fix nonce generation of Miller-Rabin testlloyd2009-07-121-1/+1
|
* Update readme and logfile for 1.8.3 release1.8.3lloyd2009-07-112-2/+2
|
* Remove unnecessary includes of <iostream>; either delete entirely as notlloyd2009-07-116-6/+4
| | | | needed, or replace with <iosfwd> or <ostream> where necessary.
* Fix generating primes between 4 and 7 bits. The problem was that whenlloyd2009-07-112-18/+23
| | | | | | | | verify mode is not set, by default the Miller-Rabin bases are chosen from the small primes. Generally speaking these make good test bases. However if the prime to be generated is very small, we will choose a base which is out of range. If the i'th prime is too big to be a base, then just choose a random integer of the appropriate size instead.
* static_cast a double before returning it as a u32bit to avoid a warninglloyd2009-07-101-1/+1
| | | | with some older versions of gcc
* Document fix to random_primelloyd2009-07-101-0/+1
|
* Fix some installation problems: the pkg-config and botan-config fileslloyd2009-07-101-12/+15
| | | | | | | were not being set to the right path, and the pkg-config file was set with the wrong name. Also build.h was not being installed by the make install target.
* Devai Tamas pointed out on the mailing list that random_prime with bitslloyd2009-07-101-3/+3
| | | | | | set to 2, 3, or 4 was not returning a random prime due to reducing the rng output modulo 1 instead of mod 2 in choosing which prime of that size to return. Oops.
* Various small code cleanups and slightly better error checking for info fileslloyd2009-07-091-16/+22
|
* Fix symlink generation when combined with --with-build-dirlloyd2009-07-091-42/+48
|
* Deal with the case where platform.processor() returns the empty string,lloyd2009-07-091-15/+12
| | | | | | which it is documented to do in some situations. Use a list comprehension instead of an explicit loop in choose_modules_to_use
* Don't recommend SHA-1 for new applications.lloyd2009-07-081-30/+33
| | | | Also change some examples using SHA-1 to use SHA-256 instead.