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 Original line 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.6a (/0.9.6b) and 0.9.7
         +) applies to 0.9.7 only
         +) 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 versions up to 0.9.6, RAND_file_name() resorted to file ".rnd"
     in the current directory if neither $RANDFILE nor $HOME was set.
     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
     RAND_file_name() in 0.9.6a returned NULL in this case.  This has
+1 −1
Original line number Original line Diff line number Diff line
@@ -168,7 +168,7 @@ SDIRS= \
	des rc2 rc4 rc5 idea bf cast \
	des rc2 rc4 rc5 idea bf cast \
	bn ec rsa dsa dh dso engine rijndael \
	bn ec rsa dsa dh dso engine rijndael \
	buffer bio stack lhash rand err objects \
	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
# tests to perform.  "alltests" is a special word indicating that all tests
# should be performed.
# should be performed.
+1 −1
Original line number Original line Diff line number Diff line
@@ -30,7 +30,7 @@ SDIRS= md2 md5 sha mdc2 hmac ripemd \
	des rc2 rc4 rc5 idea bf cast \
	des rc2 rc4 rc5 idea bf cast \
	bn ec rsa dsa dh dso engine rijndael \
	bn ec rsa dsa dh dso engine rijndael \
	buffer bio stack lhash rand err objects \
	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
GENERAL=Makefile README crypto-lib.com install.com


+2 −1
Original line number Original line Diff line number Diff line
@@ -101,7 +101,8 @@ static const char* lock_names[CRYPTO_NUM_LOCKS] =
	"dso",
	"dso",
	"dynlock",
	"dynlock",
	"engine",
	"engine",
#if CRYPTO_NUM_LOCKS != 29
	"ui",
#if CRYPTO_NUM_LOCKS != 30
# error "Inconsistency between crypto.h and cryptlib.c"
# error "Inconsistency between crypto.h and cryptlib.c"
#endif
#endif
	};
	};
+3 −1
Original line number Original line 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,"+ -
		  "BN,EC,RSA,DSA,DH,DSO,ENGINE,RIJNDAEL,"+ -
		  "BUFFER,BIO,STACK,LHASH,RAND,ERR,OBJECTS,"+ -
		  "BUFFER,BIO,STACK,LHASH,RAND,ERR,OBJECTS,"+ -
		  "EVP,EVP_2,ASN1,ASN1_2,PEM,X509,X509V3,"+ -
		  "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"
$ ENCRYPT_PROGRAMS = "DES,PKCS7"
$!
$!
$! Check To Make Sure We Have Valid Command Line Parameters.
$! Check To Make Sure We Have Valid Command Line Parameters.
@@ -269,6 +269,8 @@ $ LIB_COMP = "comp_lib,"+ -
	"c_rle,c_zlib"
	"c_rle,c_zlib"
$ LIB_OCSP = "ocsp_asn,ocsp_ext,ocsp_ht,ocsp_lib,ocsp_cl,"+ -
$ LIB_OCSP = "ocsp_asn,ocsp_ext,ocsp_ht,ocsp_lib,ocsp_cl,"+ -
	"ocsp_srv,ocsp_prn,ocsp_vfy,ocsp_err"
	"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
$! Setup exceptional compilations
$!
$!
Loading