summaryrefslogtreecommitdiff
path: root/lib/tls.c
diff options
context:
space:
mode:
authorLinus Nordberg <linus@nordu.net>2012-04-19 11:23:06 +0200
committerLinus Nordberg <linus@nordu.net>2012-04-19 11:23:06 +0200
commit4d61fddb4f7e895b8814e7d18e0276498dca9bdb (patch)
treea738c2cf242f12a38388dfbd52a28e96a82c9713 /lib/tls.c
parent0a81dc0c72ea7cb7a5d04fbb89dbb69e83bbf8fb (diff)
Don't say RADPROT_TLS when we mean RAD_TLS.
RADPROT_TLS is legacy from radsecproxy and will go away. It happens to be defined to 1, the same as RAD_TLS, so it happens to work.
Diffstat (limited to 'lib/tls.c')
-rw-r--r--lib/tls.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tls.c b/lib/tls.c
index 9427f78..12af489 100644
--- a/lib/tls.c
+++ b/lib/tls.c
@@ -123,7 +123,7 @@ rs_tls_init (struct rs_connection *conn)
tlsconf = _get_tlsconf (conn, conn->active_peer->realm);
if (!tlsconf)
return -1;
- ssl_ctx = tlsgetctx (RADPROT_TLS, tlsconf);
+ ssl_ctx = tlsgetctx (RAD_TLS, tlsconf);
if (!ssl_ctx)
{
for (sslerr = ERR_get_error (); sslerr; sslerr = ERR_get_error ())