summaryrefslogtreecommitdiff
path: root/librabbitmq/amqp_socket.c
diff options
context:
space:
mode:
authorBhasker Allam <abr5427@gmail.com>2015-04-04 14:51:12 -0700
committerAlan Antonuk <alan.antonuk@gmail.com>2015-04-05 23:37:23 -0700
commit9cf7a3b6c348fb01bc44eb6498836ed5bb7b7d66 (patch)
tree127c0376fe8775473ea38ee8df3feb5482b6b6eb /librabbitmq/amqp_socket.c
parentce0ce3a6cb3405d7bcbfbb497023a3f9e1630318 (diff)
downloadrabbitmq-c-9cf7a3b6c348fb01bc44eb6498836ed5bb7b7d66.tar.gz
Unit test for verify sasl mechanisms
Diffstat (limited to 'librabbitmq/amqp_socket.c')
-rw-r--r--librabbitmq/amqp_socket.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/librabbitmq/amqp_socket.c b/librabbitmq/amqp_socket.c
index 03a8161..0036544 100644
--- a/librabbitmq/amqp_socket.c
+++ b/librabbitmq/amqp_socket.c
@@ -495,8 +495,8 @@ static int bytes_equal(amqp_bytes_t l, amqp_bytes_t r)
return 0;
}
-static int sasl_mechanism_in_list(amqp_bytes_t mechanisms,
- amqp_sasl_method_enum method)
+int sasl_mechanism_in_list(amqp_bytes_t mechanisms,
+ amqp_sasl_method_enum method)
{
amqp_bytes_t mechanism;
amqp_bytes_t supported_mechanism;