Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | For the UI functions that return an int, 0 or any positive number is a | Richard Levitte | 2001-06-23 | 1 | -3/+3 |
| | | | | | success return, any negative number is a failure. Make sure we check the return value with that in mind. | ||||
* | Fix hwcrhk_insert_card. | Dr. Stephen Henson | 2001-06-23 | 1 | -7/+12 |
| | |||||
* | In UI_dup_*() function, use the duped string, not the original. | Dr. Stephen Henson | 2001-06-23 | 1 | -3/+5 |
| | |||||
* | This fixes "Spurious test failures on IRIX?" reported in April. Apparently | Andy Polyakov | 2001-06-22 | 1 | -185/+245 |
| | | | | | I was wrong in conclusions about when addition starts overflowing in combaX routines. | ||||
* | Fix memory leak when RAND is used: need to cleanup | Dr. Stephen Henson | 2001-06-21 | 2 | -3/+5 |
| | | | | RANDs ENGINE reference in ENGINE_cleanup(). | ||||
* | Since there is a way to create UI_METHODs, implement a destructor as | Richard Levitte | 2001-06-20 | 3 | -17/+19 |
| | | | | | | | well. This probably requires reference counters and locks as well. To be implemented later. | ||||
* | Change all calls to low level digest routines in the library and | Dr. Stephen Henson | 2001-06-20 | 17 | -108/+84 |
| | | | | | | | | | | applications to use EVP. Add missing calls to HMAC_cleanup() and don't assume HMAC_CTX can be copied using memcpy(). Note: this is almost identical to the patch submitted to openssl-dev by Verdon Walker <VWalker@novell.com> except some redundant EVP_add_digest_()/EVP_cleanup() calls were removed and some changes made to avoid compiler warnings. | ||||
* | cp is only used when DSA is built. | Richard Levitte | 2001-06-19 | 1 | -1/+1 |
| | |||||
* | - Add the possibility to control engines through control names but | Richard Levitte | 2001-06-19 | 4 | -44/+226 |
| | | | | | | | | | with arbitrary arguments instead of just a string. - Change the key loaders to take a UI_METHOD instead of a callback function pointer. NOTE: this breaks binary compatibility with earlier versions of OpenSSL [engine]. - Addapt the nCipher code for these new conditions and add a card insertion callback. | ||||
* | The default flag should be for default passwords only. Otherwise, | Richard Levitte | 2001-06-19 | 1 | -4/+4 |
| | | | | someone having a default that is not a password will be confused. | ||||
* | Enhance the user interface with better support for dialog box | Richard Levitte | 2001-06-19 | 4 | -95/+263 |
| | | | | | | prompting, application-defined prompts, the possibility to use defaults (for example default passwords from somewhere else) and interrupts/cancelations. | ||||
* | Don't set pointer if add_lock_callback used. | Dr. Stephen Henson | 2001-06-19 | 1 | -1/+0 |
| | |||||
* | Fix a memory leak (there's another around here somewhere, though). | Ben Laurie | 2001-06-17 | 1 | -10/+29 |
| | | | | PR: | ||||
* | Delete a redundant line. | Ben Laurie | 2001-06-16 | 1 | -1/+0 |
| | |||||
* | For MSDOS, the tty filename still is "con", not "/dev/tty" ... | Bodo Möller | 2001-06-11 | 1 | -2/+7 |
| | |||||
* | Get rid of "possible WAW dependency" warnings. | Andy Polyakov | 2001-06-11 | 1 | -0/+5 |
| | | | | | | Submitted by: Reviewed by: PR: | ||||
* | Earlier OpenSSL versions printed prompts to stderr. | Bodo Möller | 2001-06-11 | 1 | -38/+39 |
| | | | | | | | | | In the new crypto/ui/, this was changed into tty (which is usually /dev/tty), i.e. the FILE * used for reading passwords from the user. However stdio buffering for read/write streams is not without pitfalls (passwords would be echoed on some systems). To avoid problems, split tty into tty_in and tty_out (which are opened separately). | ||||
* | Initialize UI ex_data. | Dr. Stephen Henson | 2001-06-11 | 1 | -1/+1 |
| | |||||
* | Add support for MS CSP Name PKCS#12 attribute. | Dr. Stephen Henson | 2001-06-11 | 11 | -162/+88 |
| | |||||
* | more error codes fixed | Ulf Möller | 2001-06-08 | 1 | -3/+2 |
| | |||||
* | ERR_peek_error() returns "unsigned long". | Lutz Jänicke | 2001-06-07 | 1 | -1/+2 |
| | |||||
* | Don't forget to initialise. | Richard Levitte | 2001-06-07 | 1 | -0/+2 |
| | |||||
* | when checking OAEP, signal just a single kind of 'decoding error' | Bodo Möller | 2001-06-06 | 1 | -10/+11 |
| | |||||
* | move check to avoid memory leak. | Ulf Möller | 2001-06-06 | 1 | -8/+8 |
| | |||||
* | make sure we don't write to seed[-1] | Ulf Möller | 2001-06-06 | 1 | -0/+5 |
| | |||||
* | 'make update' | Richard Levitte | 2001-06-05 | 8 | -160/+209 |
| | |||||
* | Defining __USE_XOPEN_EXTENDED was the wrong thing. Instead, define | Richard Levitte | 2001-06-05 | 2 | -2/+4 |
| | | | | _XOPEN_SOURCE. | ||||
* | A good use of the UI interface is as a password callback replacement | Richard Levitte | 2001-06-05 | 3 | -0/+26 |
| | | | | | | | | | | (for new functions...). One might still want to be able to pass down a user-data pointer to be used by the UI. However, ex_data doesn't quite cut it, since that means the appropriate index to it might need to be shared between parts that aren't really related in that sense, and would require the currently hidden (static) index holders to be uncovered. Not a good thing. Therefore, add the possibility to add a user-data pointer to a UI. | ||||
* | Accept digits in symbol names. Spotted by Brian Havard ↵ | Richard Levitte | 2001-06-04 | 1 | -1/+1 |
| | | | | <brianh@kheldar.apana.org.au> | ||||
* | Confusion between algorithms resolved. | Richard Levitte | 2001-06-01 | 2 | -2/+2 |
| | |||||
* | nCipher callbacks shall return 0 on success, something else otherwise. | Richard Levitte | 2001-06-01 | 1 | -3/+3 |
| | |||||
* | Stop mishandling the type number in dynlock locking | Richard Levitte | 2001-06-01 | 1 | -3/+2 |
| | |||||
* | increase DEFAULT_BUFFER_SIZE (4K instead of just 1K) | Bodo Möller | 2001-06-01 | 1 | -1/+1 |
| | |||||
* | Don't decrement the reference counter twice when destroying dynamic | Richard Levitte | 2001-06-01 | 1 | -2/+2 |
| | | | | links. | ||||
* | Fix a memory leak in 'sk_dup' in the case a realloc() fails. Also, tidy up | Geoff Thorpe | 2001-05-31 | 1 | -5/+7 |
| | | | | a bit of weird code in sk_new. | ||||
* | Get rid of RAW dependency warnings. | Andy Polyakov | 2001-05-31 | 1 | -7/+7 |
| | | | | | | Submitted by: Reviewed by: PR: | ||||
* | Assembler support for IA-64. See the source code commentary for further | Andy Polyakov | 2001-05-28 | 1 | -0/+1484 |
| | | | | | | | | | | details (performance numbers and accompanying discussions:-). Note that the code is not engaged in ./Configure yet. I'll add it later this week along with updates for .spec file. Submitted by: Reviewed by: PR: | ||||
* | We had the password callback for ENGINEs pretty much wrong. And | Richard Levitte | 2001-05-25 | 3 | -40/+32 |
| | | | | | | | | | | | | | | | passwords that were given to the key loading functions were completely ignored, at least in the ncipher code, and then we made the assumption that the callback wanted a prompt as user argument. All that is now changed, and the application author is forced to give a callback function of type pem_callback_cb and possibly an argument for it, just as for all other functions that want to generate password prompting. NOTE: this change creates binary and source incompatibilities with previous versions of OpenSSL [engine]. It's worth it this time, to get it right (or at least better and with a chance that it'll work). | ||||
* | Add missing variable length cipher flag for Blowfish. | Dr. Stephen Henson | 2001-05-25 | 2 | -2/+3 |
| | | | | | | Only use trust settings if either trust or reject settings are present, otherwise use compatibility mode. This stops root CAs being rejected if they have alias of keyid set. | ||||
* | Fix for new UI functions under Win32. | Dr. Stephen Henson | 2001-05-17 | 1 | -1/+4 |
| | | | | | | | | For some unknown reason fopen("con", "w") is the only way to make this work. Using "r+" and "w+" causes the fopen call to fail and the fallback (using stdin) doesn't work because writing to stdin fails. | ||||
* | New internal function OPENSSL_gmtime, which is intended to do the same | Richard Levitte | 2001-05-16 | 7 | -73/+286 |
| | | | | as gmtime_r() on the systems where that is defined. | ||||
* | Increase ENTROPY_NEEDED to support Rijndael's larger key size. | Lutz Jänicke | 2001-05-15 | 1 | -1/+1 |
| | |||||
* | Do not forget to increment the pointers... | Richard Levitte | 2001-05-15 | 1 | -0/+2 |
| | |||||
* | Low-case the names of the system routines, since some versions of | Richard Levitte | 2001-05-15 | 1 | -2/+2 |
| | | | | | DEC C only have them declared that way (it doesn't really matter, since the linker is case-insensitive by default) | ||||
* | branch on equal is beql, not beq... | Richard Levitte | 2001-05-15 | 1 | -1/+1 |
| | |||||
* | Make sure strdup() is properly declared. | Richard Levitte | 2001-05-14 | 1 | -0/+9 |
| | |||||
* | Make sure memset() is properly declared. | Richard Levitte | 2001-05-14 | 1 | -0/+1 |
| | |||||
* | ui was forgotten when installing libcrypto and it's headers. | Richard Levitte | 2001-05-14 | 1 | -1/+2 |
| | |||||
* | Remove the password reading objects from LIB_DES. | Richard Levitte | 2001-05-14 | 1 | -3/+3 |
| | |||||
* | Make more short aliases for symbols that are longer than 31 | Richard Levitte | 2001-05-14 | 1 | -0/+14 |
| | | | | characters. |