X-Git-Url: https://git.openssl.org/gitweb/?a=blobdiff_plain;f=ssl%2Fssltest.c;h=6949f9696bccc5594d6ef4909036bbe03f590cc0;hb=4913b88f704bd6cf2d6b5afa202ea4f9317422eb;hp=ef09a699b70c3f6b2d699da6a4316e0a9bb87101;hpb=273157153c867940891a028b8b96f562cb65701c;p=openssl.git 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 #include +#ifndef OPENSSL_NO_RSA #include +#endif +#ifndef OPENSSL_NO_DSA #include +#endif +#ifndef OPENSSL_NO_DH #include +#endif #include #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;