Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add a couple of static_casts to make it clear where a type conversion is | lloyd | 2006-09-08 | 4 | -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 coercing | lloyd | 2006-09-08 | 2 | -2/+2 |
| | | | | the path limit integer to a boolean) | ||||
* | Fix a bug when generating nmake-style makefiles. | lloyd | 2006-09-08 | 2 | -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't | lloyd | 2006-09-08 | 1 | -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. | lloyd | 2006-09-08 | 7 | -68/+47 |
| | | | | Inline print_unix_makefile and print_nmake_makefile into generate_makefile | ||||
* | Various small things, nothing of real import. | lloyd | 2006-09-08 | 1 | -24/+20 |
| | |||||
* | The dir_list() function hardcoded '.' and '..' intead of using File::Spec | lloyd | 2006-09-08 | 1 | -6/+11 |
| | |||||
* | Hoist some shared code up to generate_makefile() | lloyd | 2006-09-08 | 1 | -71/+51 |
| | |||||
* | Store the list of docs to install in a list rather than a hash. | lloyd | 2006-09-08 | 1 | -49/+31 |
| | | | | Simplify calls to file_list() a bit. | ||||
* | Add a 'win32' alias for Windows. | lloyd | 2006-09-08 | 1 | -0/+4 |
| | |||||
* | Fix handling for systems that need to run ranlib on static libraries. | lloyd | 2006-09-08 | 3 | -10/+8 |
| | |||||
* | Fix minor spacing issues after the build list | lloyd | 2006-09-08 | 4 | -3/+8 |
| | |||||
* | Fix several embedded pathnames that might cause problems on non-Unix | lloyd | 2006-09-08 | 1 | -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 many | lloyd | 2006-09-08 | 1 | -40/+28 |
| | | | | cases that the old check_for_conflicts() function would not. | ||||
* | Finally get rid of the last set of globals | lloyd | 2006-09-08 | 1 | -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 the | lloyd | 2006-09-08 | 1 | -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 arguments | lloyd | 2006-09-08 | 1 | -66/+66 |
| | |||||
* | Get rid of a few more global variables | lloyd | 2006-09-08 | 1 | -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 libraries | lloyd | 2006-09-08 | 1 | -1/+1 |
| | |||||
* | Check in the template for the build.h file | lloyd | 2006-09-08 | 1 | -0/+21 |
| | |||||
* | Use %CONFIG to hold much more of the build information. | lloyd | 2006-09-08 | 1 | -160/+136 |
| | |||||
* | Chop out various globals and unused parameters | lloyd | 2006-09-08 | 1 | -94/+127 |
| | |||||
* | Correct some of the Visual C++ options | lloyd | 2006-09-08 | 1 | -2/+2 |
| | |||||
* | Rearrange to place related pieces of code near each other. | lloyd | 2006-09-08 | 1 | -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 .S | lloyd | 2006-09-08 | 1 | -5/+4 |
| | | | | files, which are). | ||||
* | Remove some unused parameters to the makefile printers | lloyd | 2006-09-08 | 1 | -27/+26 |
| | | | | Reformat file_list() | ||||
* | Move some of the shared code up to generate_makefile | lloyd | 2006-09-08 | 1 | -172/+109 |
| | |||||
* | Remove the makefile file handle parameter to the generation functions, as | lloyd | 2006-09-08 | 1 | -32/+24 |
| | | | | they weren't using it. | ||||
* | Improve handling of Itanium option generation for GCC | lloyd | 2006-09-08 | 2 | -2/+5 |
| | |||||
* | Fix a failure that occured if the user specified the OS as generic. | lloyd | 2006-09-08 | 1 | -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 used | lloyd | 2006-09-08 | 1 | -7/+0 |
| | |||||
* | Generate the NMAKE version of the makefile with file templates | lloyd | 2006-09-08 | 2 | -123/+155 |
| | |||||
* | Generate the Unix makefiles by processing templates and replacing | lloyd | 2006-09-08 | 3 | -178/+302 |
| | | | | variables, rather than hardcoding the entire Makefile into the script. | ||||
* | Make some code a bit more concise/Perlish | lloyd | 2006-09-08 | 1 | -16/+14 |
| | |||||
* | Get ride of some variables that were just cluttering up the code. | lloyd | 2006-09-08 | 1 | -14/+5 |
| | |||||
* | Generate the botan-config script through a simple template-based system. | lloyd | 2006-09-08 | 2 | -66/+98 |
| | |||||
* | Just moving things around | lloyd | 2006-09-07 | 1 | -569/+570 |
| | |||||
* | Remove the (deleted) fips140 example from the Makefile | lloyd | 2006-09-07 | 1 | -5/+1 |
| | |||||
* | Make various member functions in the PK algorithms public, particularly | lloyd | 2006-09-07 | 8 | -63/+45 |
| | | | | ones which were visible via base classes, and the empty constructors. | ||||
* | Rename X509_PublicKey and PKCS8_PrivateKey to the new types within the | lloyd | 2006-09-06 | 3 | -12/+12 |
| | | | | self-test sources | ||||
* | Rename instances of X509_PublicKey and PKCS8_PrivateKey | lloyd | 2006-09-06 | 24 | -73/+73 |
| | |||||
* | Split PK_Key into Public_Key and Private_Key; these new classes merge in | lloyd | 2006-09-06 | 22 | -134/+130 |
| | | | | the interfaces previously included in X509_PublicKey and PKCS8_PrivateKey. | ||||
* | Implement codec objects for private keys as well. | lloyd | 2006-09-06 | 8 | -138/+183 |
| | |||||
* | Remove some old commented out test code. | lloyd | 2006-09-06 | 1 | -54/+0 |
| | |||||
* | First step in a major rewrite of the high level public key code. The | lloyd | 2006-09-06 | 7 | -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 in | lloyd | 2006-09-06 | 3 | -28/+25 |
| | | | | x509self.cpp, the other a block of code in X509_CA's constructor). | ||||
* | Just tidy up the description of the various flags | lloyd | 2006-09-06 | 1 | -3/+3 |
| | |||||
* | Move the declaration of AlgorithmIdentifier into its own header file. | lloyd | 2006-09-06 | 3 | -23/+41 |
| | |||||
* | Drop a random test file that was accidentally checked in | lloyd | 2006-09-06 | 1 | -14/+0 |
| | |||||
* | Remove extraneous parenthesis | lloyd | 2006-09-06 | 1 | -3/+3 |
| |