aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add a couple of static_casts to make it clear where a type conversion islloyd2006-09-084-13/+15
| | | | | | | | | being performed. Undefined the prototype creating macro in x509stat.cpp after use. Avoid a possible type conversion in bigint_divop by storing high's top bit in a word instead of a bool.
* Return the correct type from Basic_Constraints::get_path_limit (was coercinglloyd2006-09-082-2/+2
| | | | the path limit integer to a boolean)
* Fix a bug when generating nmake-style makefiles.lloyd2006-09-082-4/+3
| | | | | | Make sure to close the output file in process_template Work around some Visual Studio command-line brain damange.
* Rename error() to croak(), to make it a little more obvious that it doesn'tlloyd2006-09-081-146/+155
| | | | | | | | return. Rename read_hash to read_list, which is slightly more accurate. Use croak() instead of calling die directly in most spots.
* Some minor simplifications for installation logic.lloyd2006-09-087-68/+47
| | | | Inline print_unix_makefile and print_nmake_makefile into generate_makefile
* Various small things, nothing of real import.lloyd2006-09-081-24/+20
|
* The dir_list() function hardcoded '.' and '..' intead of using File::Speclloyd2006-09-081-6/+11
|
* Hoist some shared code up to generate_makefile()lloyd2006-09-081-71/+51
|
* Store the list of docs to install in a list rather than a hash.lloyd2006-09-081-49/+31
| | | | Simplify calls to file_list() a bit.
* Add a 'win32' alias for Windows.lloyd2006-09-081-0/+4
|
* Fix handling for systems that need to run ranlib on static libraries.lloyd2006-09-083-10/+8
|
* Fix minor spacing issues after the build listlloyd2006-09-084-3/+8
|
* Fix several embedded pathnames that might cause problems on non-Unixlloyd2006-09-081-56/+32
| | | | | | | | | | machines. Change clean_out_dir() to use dir_list() instead of list_dir(), as it was not making any use of the extra features of list_dir. Also, as there was one remaining use of list_dir(), which was the checks directory (which had some special cases burned in), delete list_dir and replace it by a special purpose function for that case.
* Integrated conflict detection into the module loader, which catches manylloyd2006-09-081-40/+28
| | | | cases that the old check_for_conflicts() function would not.
* Finally get rid of the last set of globalslloyd2006-09-081-50/+48
| | | | | Fix copy_files, it was hardcoding the directory to look for the files, rather than simply looking at the hash contents.
* Speed up process_template() by running the regular expressions over thelloyd2006-09-081-90/+106
| | | | entire file at once, instead of a line at a time.
* Pass the config hash to load_module instead of a list of argumentslloyd2006-09-081-66/+66
|
* Get rid of a few more global variableslloyd2006-09-081-35/+34
| | | | Pass the name of the makefile template to use in the config hash
* Use the right variable in the botan-config template for extra librarieslloyd2006-09-081-1/+1
|
* Check in the template for the build.h filelloyd2006-09-081-0/+21
|
* Use %CONFIG to hold much more of the build information.lloyd2006-09-081-160/+136
|
* Chop out various globals and unused parameterslloyd2006-09-081-94/+127
|
* Correct some of the Visual C++ optionslloyd2006-09-081-2/+2
|
* Rearrange to place related pieces of code near each other.lloyd2006-09-081-271/+343
| | | | | | | Add some block comments so it's easier to navigate. Merge the two functions that generated the makefile build commands, as they basically performed the same function with slightly different parameters.
* Remove support for building with .s files, which aren't used (versus .Slloyd2006-09-081-5/+4
| | | | files, which are).
* Remove some unused parameters to the makefile printerslloyd2006-09-081-27/+26
| | | | Reformat file_list()
* Move some of the shared code up to generate_makefilelloyd2006-09-081-172/+109
|
* Remove the makefile file handle parameter to the generation functions, aslloyd2006-09-081-32/+24
| | | | they weren't using it.
* Improve handling of Itanium option generation for GCClloyd2006-09-082-2/+5
|
* Fix a failure that occured if the user specified the OS as generic.lloyd2006-09-081-28/+33
| | | | | | Fix the code that took the user-specified or autodetected CPU name and turned it into the canonical arch/submodel pair. It did not handle arch aliases (such as 'x86' or 'axp') correctly.
* Remove print_header(), no longer usedlloyd2006-09-081-7/+0
|
* Generate the NMAKE version of the makefile with file templateslloyd2006-09-082-123/+155
|
* Generate the Unix makefiles by processing templates and replacinglloyd2006-09-083-178/+302
| | | | variables, rather than hardcoding the entire Makefile into the script.
* Make some code a bit more concise/Perlishlloyd2006-09-081-16/+14
|
* Get ride of some variables that were just cluttering up the code.lloyd2006-09-081-14/+5
|
* Generate the botan-config script through a simple template-based system.lloyd2006-09-082-66/+98
|
* Just moving things aroundlloyd2006-09-071-569/+570
|
* Remove the (deleted) fips140 example from the Makefilelloyd2006-09-071-5/+1
|
* Make various member functions in the PK algorithms public, particularlylloyd2006-09-078-63/+45
| | | | ones which were visible via base classes, and the empty constructors.
* Rename X509_PublicKey and PKCS8_PrivateKey to the new types within thelloyd2006-09-063-12/+12
| | | | self-test sources
* Rename instances of X509_PublicKey and PKCS8_PrivateKeylloyd2006-09-0624-73/+73
|
* Split PK_Key into Public_Key and Private_Key; these new classes merge inlloyd2006-09-0622-134/+130
| | | | the interfaces previously included in X509_PublicKey and PKCS8_PrivateKey.
* Implement codec objects for private keys as well.lloyd2006-09-068-138/+183
|
* Remove some old commented out test code.lloyd2006-09-061-54/+0
|
* First step in a major rewrite of the high level public key code. Thelloyd2006-09-067-78/+242
| | | | | | X509_PublicKey object now offers interfaces that return encoder and decoder objects. Eventually these changes will make it much easier to support alternate key formats like OpenPGP.
* Merge a formerly duplicate function (one in an anonymous namespace inlloyd2006-09-063-28/+25
| | | | x509self.cpp, the other a block of code in X509_CA's constructor).
* Just tidy up the description of the various flagslloyd2006-09-061-3/+3
|
* Move the declaration of AlgorithmIdentifier into its own header file.lloyd2006-09-063-23/+41
|
* Drop a random test file that was accidentally checked inlloyd2006-09-061-14/+0
|
* Remove extraneous parenthesislloyd2006-09-061-3/+3
|