aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/ui/ui.h
Commit message (Collapse)AuthorAgeFilesLines
* Stop symlinking, move files to intended directoryRichard Levitte2015-03-311-415/+0
| | | | | | | | | | | | | Rather than making include/openssl/foo.h a symlink to crypto/foo/foo.h, this change moves the file to include/openssl/foo.h once and for all. Likewise, move crypto/foo/footest.c to test/footest.c, instead of symlinking it there. Originally-by: Geoff Thorpe <geoff@openssl.org> Reviewed-by: Rich Salz <rsalz@openssl.org>
* Run util/openssl-format-source -v -c .Matt Caswell2015-01-221-149/+177
| | | | Reviewed-by: Tim Hudson <tjh@openssl.org>
* Further comment changes for reformat (master)Matt Caswell2015-01-221-24/+26
| | | | Reviewed-by: Tim Hudson <tjh@openssl.org>
* mark all block comments that need format preserving so thatTim Hudson2014-12-301-2/+4
| | | | | | | indent will not alter them when reformatting comments Reviewed-by: Rich Salz <rsalz@openssl.org> Reviewed-by: Matt Caswell <matt@openssl.org>
* Change all instances of OPENSSL_NO_DEPRECATED to OPENSSL_USE_DEPRECATEDMatt Caswell2014-12-181-1/+1
| | | | | | Introduce use of DECLARE_DEPRECATED Reviewed-by: Rich Salz <rsalz@openssl.org>
* Add new type ossl_ssize_t instead of ssize_t and move definitions toDr. Stephen Henson2010-07-261-1/+1
| | | | | e_os2.h, this should fix WIN32 compilation issues and hopefully avoid conflicts with other headers which may workaround ssize_t in different ways.
* PR: 2188Dr. Stephen Henson2010-03-091-0/+2
| | | | | | Submitted By: Jaroslav Imrich <jaroslav.imrich@disig.sk> Add "missing" functions to get and set prompt constructor.
* Initial, incomplete support for typesafe macros without using functionDr. Stephen Henson2006-11-161-1/+1
| | | | casts.
* Give everything prototypes (well, everything that's actually used).Ben Laurie2005-03-311-1/+1
|
* Moving opaque definitions to ossl_typ.h lets us reduce header dependencies.Geoff Thorpe2004-05-171-0/+2
| | | | Deprecate inclusion of crypto.h from ui.h.
* Reduce header interdependencies, initially in engine.h (the rest of theGeoff Thorpe2004-04-191-12/+4
| | | | | | | | | changes are the fallout). As this could break source code that doesn't directly include headers for interfaces it uses, changes to recursive includes are covered by the OPENSSL_NO_DEPRECATED symbol. It's better to define this when building and using openssl, and then adapt code where necessary - this is how to stay current. However the mechanism exists for the lethargic.
* With the changed des_old API, let's complete the work by renaming theRichard Levitte2002-02-051-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Change info to correct values.Richard Levitte2001-07-051-3/+3
|
* Implement boolean (yes/no or OK/Cancel, ...) input.Richard Levitte2001-06-231-9/+57
| | | | | | | | 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).
* Since there is a way to create UI_METHODs, implement a destructor asRichard Levitte2001-06-201-0/+1
| | | | | | | well. This probably requires reference counters and locks as well. To be implemented later.
* 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-191-23/+86
| | | | | | prompting, application-defined prompts, the possibility to use defaults (for example default passwords from somewhere else) and interrupts/cancelations.
* A good use of the UI interface is as a password callback replacementRichard Levitte2001-06-051-0/+13
| | | | | | | | | | (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.
* Add a general user interface API. This is designed to replace thingsRichard Levitte2001-05-061-0/+257
like des_read_password and friends (backward compatibility functions using this new API are provided). The purpose is to remove prompting functions from the DES code section as well as provide for prompting through dialog boxes in a window system and the like.