diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2001-03-09 02:51:02 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2001-03-09 02:51:02 +0000 |
commit | 135883505078a868349e0a3c24514099e3cb2dac (patch) | |
tree | a989ffbf4b5b68e456c7de239ec6cbbeb0ea348e /apps | |
parent | 754d494bef083e7f4c8733e7142555726ca7efef (diff) | |
download | openssl-135883505078a868349e0a3c24514099e3cb2dac.tar.gz |
Change the EVP_somecipher() and EVP_somedigest()
functions to return constant EVP_MD and EVP_CIPHER
pointers.
Update docs.
Diffstat (limited to 'apps')
-rw-r--r-- | apps/gendsa.c | 2 | ||||
-rw-r--r-- | apps/genrsa.c | 2 | ||||
-rw-r--r-- | apps/pkcs12.c | 2 | ||||
-rw-r--r-- | apps/req.c | 2 | ||||
-rw-r--r-- | apps/smime.c | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/apps/gendsa.c b/apps/gendsa.c index 47dbde67c7..1166be4411 100644 --- a/apps/gendsa.c +++ b/apps/gendsa.c @@ -85,7 +85,7 @@ int MAIN(int argc, char **argv) char *inrand=NULL,*dsaparams=NULL; char *passargout = NULL, *passout = NULL; BIO *out=NULL,*in=NULL; - EVP_CIPHER *enc=NULL; + const EVP_CIPHER *enc=NULL; char *engine=NULL; apps_startup(); diff --git a/apps/genrsa.c b/apps/genrsa.c index c263956c03..d67880811f 100644 --- a/apps/genrsa.c +++ b/apps/genrsa.c @@ -86,7 +86,7 @@ int MAIN(int argc, char **argv) RSA *rsa=NULL; int i,num=DEFBITS; long l; - EVP_CIPHER *enc=NULL; + const EVP_CIPHER *enc=NULL; unsigned long f4=RSA_F4; char *outfile=NULL; char *passargout = NULL, *passout = NULL; diff --git a/apps/pkcs12.c b/apps/pkcs12.c index 17846cfba6..90abbb84d2 100644 --- a/apps/pkcs12.c +++ b/apps/pkcs12.c @@ -70,7 +70,7 @@ #define PROG pkcs12_main -EVP_CIPHER *enc; +const EVP_CIPHER *enc; #define NOKEYS 0x1 diff --git a/apps/req.c b/apps/req.c index 5246bbfdee..f422d3e0b7 100644 --- a/apps/req.c +++ b/apps/req.c @@ -160,7 +160,7 @@ int MAIN(int argc, char **argv) char *engine=NULL; char *extensions = NULL; char *req_exts = NULL; - EVP_CIPHER *cipher=NULL; + const EVP_CIPHER *cipher=NULL; ASN1_INTEGER *serial = NULL; int modulus=0; char *inrand=NULL; diff --git a/apps/smime.c b/apps/smime.c index b8f4f22035..03387c3332 100644 --- a/apps/smime.c +++ b/apps/smime.c @@ -89,7 +89,7 @@ int MAIN(int argc, char **argv) char *infile = NULL, *outfile = NULL; char *signerfile = NULL, *recipfile = NULL; char *certfile = NULL, *keyfile = NULL, *contfile=NULL; - EVP_CIPHER *cipher = NULL; + const EVP_CIPHER *cipher = NULL; PKCS7 *p7 = NULL; X509_STORE *store = NULL; X509 *cert = NULL, *recip = NULL, *signer = NULL; |