Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Dirk Meyer
authored and
Dirk Meyer
committed
Jul 6, 2023
1 parent
0b87f3e
commit 23e2459
Showing
2 changed files
with
26 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- include/sm/mapcnf.h.orig 2020-12-27 19:02:05 UTC | ||
+++ include/sm/mapcnf.h | ||
@@ -50,7 +50,7 @@ typedef enum mapspec_kind_E mapspec_kind_T; | ||
sm_map_P mst_##what##_map; \ | ||
char *mst_##what##_name; \ | ||
char *mst_##what##_type; \ | ||
- sm_ret_T *mst_##what##_ret | ||
+ sm_ret_T mst_##what##_ret | ||
|
||
#define SM_MAPSPEC_FL_IMPLDET 0x00000001u | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
--- smtps/smtps.c.orig 2022-09-24 16:59:28 UTC | ||
+++ smtps/smtps.c | ||
@@ -2168,9 +2168,11 @@ ss_proxy_policy(sasl_conn_t *conn, void *context, cons | ||
return SASL_OK; | ||
} | ||
|
||
+typedef int (*sasl_callback_ft)(void); | ||
+ | ||
static sasl_callback_t sm_sasl_srvcbs[] = | ||
{ | ||
- { SASL_CB_PROXY_POLICY, &ss_proxy_policy, NULL }, | ||
+ { SASL_CB_PROXY_POLICY, (sasl_callback_ft)&ss_proxy_policy, NULL }, | ||
{ SASL_CB_LIST_END, NULL, NULL } | ||
}; | ||
#endif |