diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2003-04-01 19:13:11 +0000 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2003-04-01 19:13:11 +0000 |
commit | 47836324df6c7788817468ce4f72bed7dba480e5 (patch) | |
tree | 309b9badb729b46be3774a81928df1f36d8cccd5 /src/tests.c | |
parent | 80ba67b530a243e56c8d7e1bac93efe485875880 (diff) | |
download | gnutls-47836324df6c7788817468ce4f72bed7dba480e5.tar.gz |
Some fixes to allow proper compiling when --disable-srp-authentication and --disable-anon-authentication are specified. Patch by Paul Sheer.
Diffstat (limited to 'src/tests.c')
-rw-r--r-- | src/tests.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/tests.c b/src/tests.c index 153b8c7282..20155388f4 100644 --- a/src/tests.c +++ b/src/tests.c @@ -166,7 +166,7 @@ static void ADD_PROTOCOL(gnutls_session session, int protocol) { gnutls_protocol_set_priority(session, _proto_priority); } - +#ifdef ENABLE_SRP int test_srp( gnutls_session session) { int ret; @@ -186,6 +186,7 @@ int ret; return ret; } +#endif int test_export( gnutls_session session) { ADD_ALL_COMP(session); @@ -568,7 +569,7 @@ int ret; } - +#ifdef ENABLE_ANON int test_anonymous( gnutls_session session) { int ret; @@ -586,7 +587,7 @@ int ret; return ret; } - +#endif int test_session_resume2( gnutls_session session) { int ret; |