This is an automated email from the ASF dual-hosted git repository.
jdanek pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/qpid-dispatch.git
The following commit(s) were added to refs/heads/main by this push:
new 4f56d46 DISPATCH-2273 Remove compatibility for pre-PROTON-2257 SASL
Extension API needed for Proton < 0.33 (#1411)
4f56d46 is described below
commit 4f56d463d3ab7caa02ff5cfd10f6474bbc27c4c1
Author: Jiri Daněk <[email protected]>
AuthorDate: Mon Nov 1 15:16:58 2021 +0100
DISPATCH-2273 Remove compatibility for pre-PROTON-2257 SASL Extension API
needed for Proton < 0.33 (#1411)
---
src/remote_sasl.c | 11 -----------
1 file changed, 11 deletions(-)
diff --git a/src/remote_sasl.c b/src/remote_sasl.c
index db1fd9b..548b3c2 100644
--- a/src/remote_sasl.c
+++ b/src/remote_sasl.c
@@ -26,21 +26,10 @@
#include <stdlib.h>
#include <string.h>
-#include <proton/version.h>
-#if PN_VERSION_MAJOR==0 && PN_VERSION_MINOR>32
-#define USE_NEW_PNX_SASL_API
-#endif
#include <proton/engine.h>
#include <proton/proactor.h>
#include <proton/sasl.h>
-#ifdef USE_NEW_PNX_SASL_API
#include <proton/sasl_plugin.h>
-#else
-#include <proton/sasl-plugin.h>
-#define pnx_sasl_set_succeeded(X, Y, Z) pnx_sasl_succeed_authentication(X, Y)
-#define pnx_sasl_set_failed(X) pnx_sasl_fail_authentication(X)
-#define remote_sasl_process_outcome(X, Y) remote_sasl_process_outcome(X)
-#endif
#include "qpid/dispatch/ctools.h"
#include "qpid/dispatch/log.h"
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]