- 06 2月, 2002 1 次提交
-
-
由 Richard 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.
-
- 24 1月, 2002 1 次提交
-
-
由 Richard Levitte 提交于
libeay.num got tweaked so the old des symbols would retain their positions.
-
- 20 12月, 2001 1 次提交
-
-
由 Ben Laurie 提交于
-
- 25 10月, 2001 1 次提交
-
-
由 Richard 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.
-
- 02 9月, 2001 1 次提交
-
-
由 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.
-
- 13 8月, 2001 1 次提交
-
-
由 Geoff 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.
-
- 01 8月, 2001 1 次提交
-
-
由 Richard Levitte 提交于
-
- 31 7月, 2001 1 次提交
-
-
由 Ben Laurie 提交于
-
- 23 7月, 2001 1 次提交
-
-
由 Geoff Thorpe 提交于
-
- 11 7月, 2001 1 次提交
-
-
由 Richard Levitte 提交于
-
- 05 7月, 2001 1 次提交
-
-
由 Richard Levitte 提交于
-
- 24 6月, 2001 5 次提交
-
-
由 Richard Levitte 提交于
-
由 Richard Levitte 提交于
-
由 Richard 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.
-
由 Richard Levitte 提交于
-
由 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).
-
- 23 6月, 2001 1 次提交
-
-
由 Dr. Stephen Henson 提交于
-
- 20 6月, 2001 1 次提交
-
-
由 Richard Levitte 提交于
well. This probably requires reference counters and locks as well. To be implemented later.
-
- 19 6月, 2001 2 次提交
-
-
由 Richard Levitte 提交于
someone having a default that is not a password will be confused.
-
由 Richard Levitte 提交于
prompting, application-defined prompts, the possibility to use defaults (for example default passwords from somewhere else) and interrupts/cancelations.
-
- 11 6月, 2001 3 次提交
-
-
由 Bodo Möller 提交于
-
由 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).
-
由 Dr. Stephen Henson 提交于
-
- 07 6月, 2001 1 次提交
-
-
由 Richard Levitte 提交于
-
- 06 6月, 2001 2 次提交
-
-
由 Richard Levitte 提交于
_XOPEN_SOURCE.
-
由 Richard 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.
-
- 17 5月, 2001 1 次提交
-
-
由 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.
-
- 14 5月, 2001 2 次提交
-
-
由 Richard Levitte 提交于
-
由 Richard Levitte 提交于
-
- 13 5月, 2001 4 次提交
-
-
由 Richard Levitte 提交于
-
由 Richard Levitte 提交于
-
由 Richard Levitte 提交于
is compiled.
-
由 Richard 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.
-
- 12 5月, 2001 1 次提交
-
-
由 Dr. Stephen Henson 提交于
-
- 11 5月, 2001 1 次提交
-
-
由 Richard Levitte 提交于
(basically: whooops :-))
-
- 10 5月, 2001 1 次提交
-
-
由 Dr. Stephen Henson 提交于
-
- 08 5月, 2001 1 次提交
-
-
由 Richard Levitte 提交于
-
- 07 5月, 2001 2 次提交
-
-
由 Richard Levitte 提交于
little bit clearer and use the new OPENSSL_SYS_* macros.
-
由 Richard Levitte 提交于
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.
-