diff options
author | Nils Larsch <nils@openssl.org> | 2005-07-16 14:37:36 +0200 |
---|---|---|
committer | Nils Larsch <nils@openssl.org> | 2005-07-16 14:37:36 +0200 |
commit | 3eeaab4bed46e3320947d0f609b82007b65b5a46 (patch) | |
tree | 3d5136c2646cb283e543b4db9cb47eb997bd4132 /ssl/ssltest.c | |
parent | add missing entries for "-multivalue-rdn" and "-utf8" in ca.pod and req.pod (diff) | |
download | openssl-3eeaab4bed46e3320947d0f609b82007b65b5a46.tar.xz openssl-3eeaab4bed46e3320947d0f609b82007b65b5a46.zip |
make
./configure no-deprecated [no-dsa] [no-dh] [no-ec] [no-rsa]
make depend all test
work again
PR: 1159
Diffstat (limited to 'ssl/ssltest.c')
-rw-r--r-- | ssl/ssltest.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/ssl/ssltest.c b/ssl/ssltest.c index ef09a699b7..6949f9696b 100644 --- a/ssl/ssltest.c +++ b/ssl/ssltest.c @@ -143,9 +143,15 @@ #endif #include <openssl/err.h> #include <openssl/rand.h> +#ifndef OPENSSL_NO_RSA #include <openssl/rsa.h> +#endif +#ifndef OPENSSL_NO_DSA #include <openssl/dsa.h> +#endif +#ifndef OPENSSL_NO_DH #include <openssl/dh.h> +#endif #include <openssl/bn.h> #define _XOPEN_SOURCE_EXTENDED 1 /* Or gethostname won't be declared properly @@ -390,7 +396,9 @@ int main(int argc, char *argv[]) char *server_key=NULL; char *client_cert=TEST_CLIENT_CERT; char *client_key=NULL; +#ifndef OPENSSL_NO_ECDH char *named_curve = NULL; +#endif SSL_CTX *s_ctx=NULL; SSL_CTX *c_ctx=NULL; SSL_METHOD *meth=NULL; |