Commit a63d5eaa authored by Richard Levitte's avatar Richard Levitte
Browse files

Add a general user interface API. This is designed to replace things

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.
parent 6af59bc0
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -11,6 +11,13 @@
         *) applies to 0.9.6a (/0.9.6b) and 0.9.7
         +) applies to 0.9.7 only

  +) Add a general user interface API.  This is designed to replace things
     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.
     [Richard Levitte]

  *) In versions up to 0.9.6, RAND_file_name() resorted to file ".rnd"
     in the current directory if neither $RANDFILE nor $HOME was set.
     RAND_file_name() in 0.9.6a returned NULL in this case.  This has
+1 −1
Original line number Diff line number Diff line
@@ -168,7 +168,7 @@ SDIRS= \
	des rc2 rc4 rc5 idea bf cast \
	bn ec rsa dsa dh dso engine rijndael \
	buffer bio stack lhash rand err objects \
	evp asn1 pem x509 x509v3 conf txt_db pkcs7 pkcs12 comp ocsp
	evp asn1 pem x509 x509v3 conf txt_db pkcs7 pkcs12 comp ocsp ui

# tests to perform.  "alltests" is a special word indicating that all tests
# should be performed.
+1 −1
Original line number Diff line number Diff line
@@ -30,7 +30,7 @@ SDIRS= md2 md5 sha mdc2 hmac ripemd \
	des rc2 rc4 rc5 idea bf cast \
	bn ec rsa dsa dh dso engine rijndael \
	buffer bio stack lhash rand err objects \
	evp asn1 pem x509 x509v3 conf txt_db pkcs7 pkcs12 comp ocsp
	evp asn1 pem x509 x509v3 conf txt_db pkcs7 pkcs12 comp ocsp ui

GENERAL=Makefile README crypto-lib.com install.com

+2 −1
Original line number Diff line number Diff line
@@ -101,7 +101,8 @@ static const char* lock_names[CRYPTO_NUM_LOCKS] =
	"dso",
	"dynlock",
	"engine",
#if CRYPTO_NUM_LOCKS != 29
	"ui",
#if CRYPTO_NUM_LOCKS != 30
# error "Inconsistency between crypto.h and cryptlib.c"
#endif
	};
+3 −1
Original line number Diff line number Diff line
@@ -91,7 +91,7 @@ $ ENCRYPT_TYPES = "Basic,MD2,MD4,MD5,SHA,MDC2,HMAC,RIPEMD,"+ -
		  "BN,EC,RSA,DSA,DH,DSO,ENGINE,RIJNDAEL,"+ -
		  "BUFFER,BIO,STACK,LHASH,RAND,ERR,OBJECTS,"+ -
		  "EVP,EVP_2,ASN1,ASN1_2,PEM,X509,X509V3,"+ -
		  "CONF,TXT_DB,PKCS7,PKCS12,COMP,OCSP"
		  "CONF,TXT_DB,PKCS7,PKCS12,COMP,OCSP,UI"
$ ENCRYPT_PROGRAMS = "DES,PKCS7"
$!
$! Check To Make Sure We Have Valid Command Line Parameters.
@@ -269,6 +269,8 @@ $ LIB_COMP = "comp_lib,"+ -
	"c_rle,c_zlib"
$ LIB_OCSP = "ocsp_asn,ocsp_ext,ocsp_ht,ocsp_lib,ocsp_cl,"+ -
	"ocsp_srv,ocsp_prn,ocsp_vfy,ocsp_err"
$ LIB_UI_COMPAT = "ui_compat"
$ LIB_UI = "ui_er,ui_lib,ui_openssl,"+LIB_UI_COMPAT
$!
$! Setup exceptional compilations
$!
Loading