diff options
author | Richard Levitte <levitte@openssl.org> | 2003-01-30 17:39:26 +0000 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2003-01-30 17:39:26 +0000 |
commit | 0b13e9f055d3f7be066dc2e89fc9f9822b12eca7 (patch) | |
tree | 633b5d3e4c9356eaf9816541aaa079a0c3be9194 /demos/x509/mkcert.c | |
parent | 96f7065f6392e19f1449578aaeabb8dc39294fa7 (diff) |
Add the possibility to build without the ENGINE framework.
PR: 287
Diffstat (limited to 'demos/x509/mkcert.c')
-rw-r--r-- | demos/x509/mkcert.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/demos/x509/mkcert.c b/demos/x509/mkcert.c index 8304d30e0b..c5e67b8e28 100644 --- a/demos/x509/mkcert.c +++ b/demos/x509/mkcert.c @@ -9,7 +9,9 @@ #include <openssl/pem.h> #include <openssl/conf.h> #include <openssl/x509v3.h> +#ifndef OPENSSL_NO_ENGINE #include <openssl/engine.h> +#endif int mkcert(X509 **x509p, EVP_PKEY **pkeyp, int bits, int serial, int days); int add_ext(X509 *cert, int nid, char *value); @@ -35,7 +37,9 @@ int main(int argc, char **argv) X509_free(x509); EVP_PKEY_free(pkey); +#ifndef OPENSSL_NO_ENGINE ENGINE_cleanup(); +#endif CRYPTO_cleanup_all_ex_data(); CRYPTO_mem_leaks(bio_err); |