aboutsummaryrefslogtreecommitdiffstats
path: root/crypto
Commit message (Collapse)AuthorAgeFilesLines
* Let's include cryptlib.h *before* things like NO_SYSLOG are tested orRichard Levitte2001-07-021-2/+1
| | | | used.
* [Forgotten commits?]Richard Levitte2001-07-021-2/+2
| | | | | Changes to have OpenSSL compile on OS/2. Contributed by "Brian Havard" <brianh@kheldar.apana.org.au>
* Changes to have OpenSSL compile on OS/2.Richard Levitte2001-07-015-3/+155
| | | | Contributed by "Brian Havard" <brianh@kheldar.apana.org.au>
* Modify apps to use NCONF code instead of old CONF code.Dr. Stephen Henson2001-06-284-183/+264
| | | | | | | | | | Add new extension functions which work with NCONF. Tidy up extension config routines and remove redundant code. Fix NCONF_get_number(). Todo: more testing of apps to see they still work...
* Another empty X509_NAME fix.Dr. Stephen Henson2001-06-261-0/+2
|
* Handle empty X509_NAME in printing routines.Dr. Stephen Henson2001-06-262-2/+4
|
* DSA verification should insist that r and s are in the allowed range.Bodo Möller2001-06-261-0/+11
|
* Make get_ip() a bit more strict in it's parsing of IP addresses, andRichard Levitte2001-06-251-3/+3
| | | | at the same time a bit more accepting with host names.
* Translate into valid C (don't call functions with wrong prototypes).Bodo Möller2001-06-251-10/+6
|
* Make sure we don't return 0 on error.Richard Levitte2001-06-241-0/+5
|
* In {RSA,DSA,DH}_new_method(x) need to increase the referenceDr. Stephen Henson2001-06-233-24/+42
| | | | | count of the ENGINE is x is not NULL since it will be freed in {RSA,DSA,DH}_free().
* Use the new UI features, among others the new boolean input.Richard Levitte2001-06-231-14/+21
| | | | | NOTE: Boolean input hasn't been very well tested yet, so this part may fail miserably.
* Including stdio.h before setting _XOPEN_SOURCE andRichard Levitte2001-06-231-1/+1
| | | | _XOPEN_SOURCE_EXTENDED wasn't very smart...
* make updateRichard Levitte2001-06-237-81/+146
|
* Do not loop i the OpenSSL UI method any more. Instead, lettheRichard Levitte2001-06-231-28/+32
| | | | | | | | | application do that. NOTE: there's no requirement for other UI_METHODs to avoid this kind of loop. For example, a GUI UI_METHOD would probably check the lengths of the answers from within instead of being constantly redisplayed for everything that is wrong.
* make updateRichard Levitte2001-06-231-0/+7
|
* Implement boolean (yes/no or OK/Cancel, ...) input.Richard Levitte2001-06-233-53/+398
| | | | | | | | Implement UI controls. Current controls are the possibility to output the OpenSSL error stack on the same channel from within UI_process() and to check if the same user interface can be redone without being rebuilt (this is often more a question of philosophy than technicalities).
* New error printing function that gives the possibility to print theRichard Levitte2001-06-232-23/+29
| | | | errors through an arbitrary function.
* Include the UI error strings.Richard Levitte2001-06-231-0/+1
|
* For the UI functions that return an int, 0 or any positive number is aRichard Levitte2001-06-231-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 Henson2001-06-231-7/+12
|
* In UI_dup_*() function, use the duped string, not the original.Dr. Stephen Henson2001-06-231-3/+5
|
* This fixes "Spurious test failures on IRIX?" reported in April. ApparentlyAndy Polyakov2001-06-221-185/+245
| | | | | I was wrong in conclusions about when addition starts overflowing in combaX routines.
* Fix memory leak when RAND is used: need to cleanupDr. Stephen Henson2001-06-212-3/+5
| | | | RANDs ENGINE reference in ENGINE_cleanup().
* Since there is a way to create UI_METHODs, implement a destructor asRichard Levitte2001-06-203-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 andDr. Stephen Henson2001-06-1917-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 Levitte2001-06-191-1/+1
|
* - Add the possibility to control engines through control names butRichard Levitte2001-06-194-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 Levitte2001-06-191-4/+4
| | | | someone having a default that is not a password will be confused.
* Enhance the user interface with better support for dialog boxRichard Levitte2001-06-194-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 Henson2001-06-191-1/+0
|
* Fix a memory leak (there's another around here somewhere, though).Ben Laurie2001-06-171-10/+29
| | | | PR:
* Delete a redundant line.Ben Laurie2001-06-161-1/+0
|
* For MSDOS, the tty filename still is "con", not "/dev/tty" ...Bodo Möller2001-06-111-2/+7
|
* Get rid of "possible WAW dependency" warnings.Andy Polyakov2001-06-111-0/+5
| | | | | | Submitted by: Reviewed by: PR:
* Earlier OpenSSL versions printed prompts to stderr.Bodo Möller2001-06-111-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 Henson2001-06-111-1/+1
|
* Add support for MS CSP Name PKCS#12 attribute.Dr. Stephen Henson2001-06-1111-162/+88
|
* more error codes fixedUlf Möller2001-06-081-3/+2
|
* ERR_peek_error() returns "unsigned long".Lutz Jänicke2001-06-071-1/+2
|
* Don't forget to initialise.Richard Levitte2001-06-061-0/+2
|
* when checking OAEP, signal just a single kind of 'decoding error'Bodo Möller2001-06-061-10/+11
|
* move check to avoid memory leak.Ulf Möller2001-06-061-8/+8
|
* make sure we don't write to seed[-1]Ulf Möller2001-06-061-0/+5
|
* 'make update'Richard Levitte2001-06-058-160/+209
|
* Defining __USE_XOPEN_EXTENDED was the wrong thing. Instead, defineRichard Levitte2001-06-052-2/+4
| | | | _XOPEN_SOURCE.
* A good use of the UI interface is as a password callback replacementRichard Levitte2001-06-053-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 Levitte2001-06-041-1/+1
| | | | <brianh@kheldar.apana.org.au>
* Confusion between algorithms resolved.Richard Levitte2001-06-012-2/+2
|
* nCipher callbacks shall return 0 on success, something else otherwise.Richard Levitte2001-06-011-3/+3
|