summaryrefslogtreecommitdiffstats
path: root/crypto/ui
AgeCommit message (Collapse)Author
2002-11-28Cleanse memory using the new OPENSSL_cleanse() function.Richard Levitte
I've covered all the memset()s I felt safe modifying, but may have missed some.
2002-11-15WinCE patchesRichard Levitte
2002-11-13Correct support for SunOS 4.1.3_U1.Richard Levitte
PR: 227
2002-11-13Security fixes brought forward from 0.9.7.Ben Laurie
2002-10-09Add a few more VxWorks targets.Richard Levitte
Correct misspelled VXWORKS macros. Add VXWORKS identifying macros to e_os2.h. Add required inclusions and mappings for VxWorks in e_os.h. A few small modifications to make OpenSSL build and work on VxWorks. PR: 253, except for the change that was handled in an earlier commit, and a request for easy build of just parts of OpenSSL.
2002-10-09Use double dashes so makedepend doesn't misunderstand the flags weRichard Levitte
give it. For 0.9.7 and up, that means util/domd needs to remove those double dashes from the argument list when gcc is used to find the dependencies.
2002-09-25Make sure that the signal storage is regarded as volatile.Richard Levitte
This correction was originally introduced in OpenBSD's tracking of OpenSSL.
2002-07-11In UI_UTIL_read_pw(), we should look at the size parameter, not at BUFSIZ.Richard Levitte
Submitted by Götz Babin-Ebell <babinebell@trustcenter.de>
2002-06-27Pass CFLAG to dependency makers, so non-standard system include paths areRichard Levitte
handled properly. Part of PR 75
2002-06-13Add support for DJGPP.Richard Levitte
PR: 75
2002-05-09One place where VMS wasn't changed to OPENSSL_SYS_VMS...Richard Levitte
2002-03-26Correct the mapping for des_read_pw()Richard Levitte
2002-02-14Add the configuration target VxWorks.Richard Levitte
2002-02-05'make update'Richard Levitte
2002-02-05With the changed des_old API, let's complete the work by renaming theRichard Levitte
functions in ui_compat. This gave reason to rework that part more thoroughly, so here are the changes made: 1. Add DES_read_password() and DES_read_2passwords() with the same functionality as the corresponding old des_ functions, as a convenience to the users. 2. Add UI_UTIL_read_pw_string() and UI_UTIL_read_pw() with the functionality from des_read_pw_string() and des_read_pw(), again as a concenience to the users. 3. Rename des_read_password(), des_read_2passwords(), des_read_pw_string() and des_read_pw() by changing des_ to _ossl_old_des_, and add the usual mapping macros. 4. Move the implementation of des_read_password() and des_read_2passwords() to the des directory, since they are tightly tied to DES anyway. This change was inspired by a patch from Assar Westerlund <assar@sics.se>: There are some functions that didn't get the kick-away-old-des-and- replace-des-with-DES action. Here's a patch that adds DES_ and des_ (in des_old.h) versions of des_read_pw_string et al. This patch includes some of the first des_old.h semi-colon macro fixes that I've already sent.
2002-01-24make updateRichard Levitte
libeay.num got tweaked so the old des symbols would retain their positions.
2001-12-20Security fix.Ben Laurie
2001-10-24Due to an increasing number of clashes between modern OpenSSL andRichard Levitte
libdes (which is still used out there) or other des implementations, the OpenSSL DES functions are renamed to begin with DES_ instead of des_. Compatibility routines are provided and declared by including openssl/des_old.h. Those declarations are the same as were in des.h when the OpenSSL project started, which is exactly how libdes looked at that time, and hopefully still looks today. The compatibility functions will be removed in some future release, at the latest in version 1.0.
2001-09-01Make the necessary changes to work with the recent "ex_data" overhaul.Geoff Thorpe
See the commit log message for that for more information. NB: X509_STORE_CTX's use of "ex_data" support was actually misimplemented (initialisation by "memset" won't/can't/doesn't work). This fixes that but requires that X509_STORE_CTX_init() be able to handle errors - so its prototype has been changed to return 'int' rather than 'void'. All uses of that function throughout the source code have been tracked down and adjusted.
2001-08-12The indexes returned by ***_get_ex_new_index() functions are used whenGeoff Thorpe
setting stack (actually, array) values in ex_data. So only increment the global counters if the underlying CRYPTO_get_ex_new_index() call succeeds. This change doesn't make "ex_data" right (see the comment at the head of ex_data.c to know why), but at least makes the source code marginally less frustrating.
2001-07-31make updateRichard Levitte
2001-07-30Really add the EVP and all of the DES changes.Ben Laurie
2001-07-22Tidy up "cvs update" output a bit.Geoff Thorpe
2001-07-11One forgotten function.Richard Levitte
2001-07-05Change info to correct values.Richard Levitte
2001-06-24Make sure we don't return 0 on error.Richard Levitte
2001-06-23make updateRichard Levitte
2001-06-23Do not loop i the OpenSSL UI method any more. Instead, lettheRichard Levitte
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.
2001-06-23make updateRichard Levitte
2001-06-23Implement boolean (yes/no or OK/Cancel, ...) input.Richard Levitte
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).
2001-06-23In UI_dup_*() function, use the duped string, not the original.Dr. Stephen Henson
2001-06-20Since there is a way to create UI_METHODs, implement a destructor asRichard Levitte
well. This probably requires reference counters and locks as well. To be implemented later.
2001-06-19The default flag should be for default passwords only. Otherwise,Richard Levitte
someone having a default that is not a password will be confused.
2001-06-19Enhance the user interface with better support for dialog boxRichard Levitte
prompting, application-defined prompts, the possibility to use defaults (for example default passwords from somewhere else) and interrupts/cancelations.
2001-06-11For MSDOS, the tty filename still is "con", not "/dev/tty" ...Bodo Möller
2001-06-11Earlier OpenSSL versions printed prompts to stderr.Bodo Möller
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).
2001-06-11Initialize UI ex_data.Dr. Stephen Henson
2001-06-06Don't forget to initialise.Richard Levitte
2001-06-05Defining __USE_XOPEN_EXTENDED was the wrong thing. Instead, defineRichard Levitte
_XOPEN_SOURCE.
2001-06-05A good use of the UI interface is as a password callback replacementRichard Levitte
(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.
2001-05-17Fix for new UI functions under Win32.Dr. Stephen Henson
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.
2001-05-14Make sure strdup() is properly declared.Richard Levitte
2001-05-14Make sure memset() is properly declared.Richard Levitte
2001-05-13Define `ok' and better error detection.Richard Levitte
2001-05-13make updateRichard Levitte
2001-05-13des_read_password() and des_read_2passwords() can only appear if DESRichard Levitte
is compiled.
2001-05-13Move the password reading functions completely away from the DESRichard Levitte
section. Add ui_compat.h for inclusion by those who want the old functions and provide all of them, not just the higher-level ones, in ui_compat.c.
2001-05-12Typo.Dr. Stephen Henson
2001-05-11e_os2.h defines things like OPENSSL_SYS_MSDOS, not opensslconf.h...Richard Levitte
(basically: whooops :-))
2001-05-10Fix warning with DEBUG_SAFESTACKDr. Stephen Henson