Ticket #59010: main.log

File main.log, 460.9 KB (added by i0ntempest, 5 years ago)
Line 
1version:1
2:debug:sysinfo macOS 10.14 (darwin/18.7.0) arch i386
3:debug:sysinfo MacPorts 2.5.4
4:debug:sysinfo Xcode 10.3
5:debug:sysinfo SDK 10.14
6:debug:sysinfo MACOSX_DEPLOYMENT_TARGET: 10.14
7:debug:main epoch: in tree: 1 installed: 1
8:debug:main openssl 1.1.1c_0 exists in the ports tree
9:debug:main openssl 1.1.1c_0 +universal is the latest installed
10:debug:main openssl 1.1.1c_0 +universal is active
11:debug:main Merging existing variants '+universal' into variants
12:debug:main new fully merged portvariants: universal +
13:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/devel/openssl
14:debug:main OS darwin/18.7.0 (Mac OS X 10.14) arch i386
15:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
16:debug:main Sourcing PortGroup muniversal 1.0 from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/group/muniversal-1.0.tcl
17:debug:main universal variant already exists, so not adding the default one
18:debug:main Executing variant universal provides universal
19:debug:main Running callback portconfigure::add_automatic_compiler_dependencies
20:debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies
21:debug:main Running callback portbuild::add_automatic_buildsystem_dependencies
22:debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies
23:debug:main Running callback portstartupitem::add_notes
24:debug:main Finished running callback portstartupitem::add_notes
25:debug:main No need to upgrade! openssl 1.1.1c_0 >= openssl 1.1.1c_0
26:debug:main epoch: in tree: 0 installed: 0
27:debug:main zlib 1.2.11_0 exists in the ports tree
28:debug:main zlib 1.2.11_0 +universal is the latest installed
29:debug:main zlib 1.2.11_0 +universal is active
30:debug:main Merging existing variants '+universal' into variants
31:debug:main new fully merged portvariants: universal +
32:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/archivers/zlib
33:debug:main OS darwin/18.7.0 (Mac OS X 10.14) arch i386
34:debug:main Sourcing PortGroup xcodeversion 1.0 from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/group/xcodeversion-1.0.tcl
35:debug:main adding the default universal variant
36:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
37:debug:main Executing variant universal provides universal
38:debug:main Running callback portconfigure::add_automatic_compiler_dependencies
39:debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies
40:debug:main Running callback portbuild::add_automatic_buildsystem_dependencies
41:debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies
42:debug:main Running callback portstartupitem::add_notes
43:debug:main Finished running callback portstartupitem::add_notes
44:debug:main No need to upgrade! zlib 1.2.11_0 >= zlib 1.2.11_0
45:debug:main epoch: in tree: 0 installed: 0
46:debug:main libssh2 1.8.2_1 exists in the ports tree
47:debug:main libssh2 1.8.2_1  is the latest installed
48:debug:main libssh2 1.8.2_1  is active
49:debug:main Merging existing variants '' into variants
50:debug:main new fully merged portvariants:
51:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/devel/libssh2
52:debug:main OS darwin/18.7.0 (Mac OS X 10.14) arch i386
53:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
54:debug:main Sourcing PortGroup muniversal 1.0 from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/group/muniversal-1.0.tcl
55:debug:main universal variant already exists, so not adding the default one
56:debug:main Running callback portconfigure::add_automatic_compiler_dependencies
57:debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies
58:debug:main Running callback portbuild::add_automatic_buildsystem_dependencies
59:debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies
60:debug:main Running callback portstartupitem::add_notes
61:debug:main Finished running callback portstartupitem::add_notes
62:debug:main No need to upgrade! libssh2 1.8.2_1 >= libssh2 1.8.2_1
63:debug:main epoch: in tree: 0 installed: 0
64:debug:main subversion 1.12.2_0 exists in the ports tree
65:debug:main subversion 1.12.2_0  is the latest installed
66:debug:main subversion 1.12.2_0  is active
67:debug:main Merging existing variants '-universal' into variants
68:debug:main new fully merged portvariants: universal -
69:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/devel/subversion
70:debug:main OS darwin/18.7.0 (Mac OS X 10.14) arch i386
71:debug:main adding the default universal variant
72:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
73:debug:main Running callback portconfigure::add_automatic_compiler_dependencies
74:debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies
75:debug:main Running callback portbuild::add_automatic_buildsystem_dependencies
76:debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies
77:debug:main Running callback portstartupitem::add_notes
78:debug:main Finished running callback portstartupitem::add_notes
79:debug:main No need to upgrade! subversion 1.12.2_0 >= subversion 1.12.2_0
80:debug:main epoch: in tree: 0 installed: 0
81:debug:main expat 2.2.7_0 exists in the ports tree
82:debug:main expat 2.2.7_0 +universal is the latest installed
83:debug:main expat 2.2.7_0 +universal is active
84:debug:main Merging existing variants '+universal' into variants
85:debug:main new fully merged portvariants: universal +
86:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/textproc/expat
87:debug:main OS darwin/18.7.0 (Mac OS X 10.14) arch i386
88:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
89:debug:main Sourcing PortGroup muniversal 1.0 from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/group/muniversal-1.0.tcl
90:debug:main universal variant already exists, so not adding the default one
91:debug:main Executing variant universal provides universal
92:debug:main Running callback portconfigure::add_automatic_compiler_dependencies
93:debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies
94:debug:main Running callback portbuild::add_automatic_buildsystem_dependencies
95:debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies
96:debug:main Running callback portstartupitem::add_notes
97:debug:main Finished running callback portstartupitem::add_notes
98:debug:main No need to upgrade! expat 2.2.7_0 >= expat 2.2.7_0
99:debug:main epoch: in tree: 0 installed: 0
100:debug:main apr 1.7.0_0 exists in the ports tree
101:debug:main apr 1.7.0_0  is the latest installed
102:debug:main apr 1.7.0_0  is active
103:debug:main Merging existing variants '' into variants
104:debug:main new fully merged portvariants:
105:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/devel/apr
106:debug:main OS darwin/18.7.0 (Mac OS X 10.14) arch i386
107:debug:main adding the default universal variant
108:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
109:debug:main Running callback portconfigure::add_automatic_compiler_dependencies
110:debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies
111:debug:main Running callback portbuild::add_automatic_buildsystem_dependencies
112:debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies
113:debug:main Running callback portstartupitem::add_notes
114:debug:main Finished running callback portstartupitem::add_notes
115:debug:main No need to upgrade! apr 1.7.0_0 >= apr 1.7.0_0
116:debug:main epoch: in tree: 0 installed: 0
117:debug:main apr-util 1.6.1_2 exists in the ports tree
118:debug:main apr-util 1.6.1_2  is the latest installed
119:debug:main apr-util 1.6.1_2  is active
120:debug:main Merging existing variants '' into variants
121:debug:main new fully merged portvariants:
122:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/devel/apr-util
123:debug:main OS darwin/18.7.0 (Mac OS X 10.14) arch i386
124:debug:main adding the default universal variant
125:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
126:debug:main Running callback portconfigure::add_automatic_compiler_dependencies
127:debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies
128:debug:main Running callback portbuild::add_automatic_buildsystem_dependencies
129:debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies
130:debug:main Running callback portstartupitem::add_notes
131:debug:main Finished running callback portstartupitem::add_notes
132:debug:main No need to upgrade! apr-util 1.6.1_2 >= apr-util 1.6.1_2
133:debug:main epoch: in tree: 0 installed: 0
134:debug:main libiconv 1.16_0 exists in the ports tree
135:debug:main libiconv 1.16_0 +universal is the latest installed
136:debug:main libiconv 1.16_0 +universal is active
137:debug:main Merging existing variants '+universal' into variants
138:debug:main new fully merged portvariants: universal +
139:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/textproc/libiconv
140:debug:main OS darwin/18.7.0 (Mac OS X 10.14) arch i386
141:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
142:debug:main Sourcing PortGroup muniversal 1.0 from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/group/muniversal-1.0.tcl
143:debug:main Sourcing PortGroup clang_dependency 1.0 from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/group/clang_dependency-1.0.tcl
144:debug:main universal variant already exists, so not adding the default one
145:debug:main Executing variant universal provides universal
146:debug:main Running callback portconfigure::add_automatic_compiler_dependencies
147:debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies
148:debug:main Running callback portbuild::add_automatic_buildsystem_dependencies
149:debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies
150:debug:main Running callback portstartupitem::add_notes
151:debug:main Finished running callback portstartupitem::add_notes
152:debug:main No need to upgrade! libiconv 1.16_0 >= libiconv 1.16_0
153:debug:main epoch: in tree: 0 installed: 0
154:debug:main db48 4.8.30_4 exists in the ports tree
155:debug:main db48 4.8.30_4 +universal is the latest installed
156:debug:main db48 4.8.30_4 +universal is active
157:debug:main Merging existing variants '+universal' into variants
158:debug:main new fully merged portvariants: universal +
159:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/databases/db48
160:debug:main OS darwin/18.7.0 (Mac OS X 10.14) arch i386
161:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
162:debug:main Sourcing PortGroup muniversal 1.0 from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/group/muniversal-1.0.tcl
163:debug:main Sourcing PortGroup clang_dependency 1.0 from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/group/clang_dependency-1.0.tcl
164:debug:main universal variant already exists, so not adding the default one
165:debug:main Executing variant universal provides universal
166:debug:main Running callback portconfigure::add_automatic_compiler_dependencies
167:debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies
168:debug:main Running callback portbuild::add_automatic_buildsystem_dependencies
169:debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies
170:debug:main Running callback portstartupitem::add_notes
171:debug:main Finished running callback portstartupitem::add_notes
172:debug:main No need to upgrade! db48 4.8.30_4 >= db48 4.8.30_4
173:debug:main epoch: in tree: 0 installed: 0
174:debug:main sqlite3 3.29.0_0 exists in the ports tree
175:debug:main sqlite3 3.29.0_0 +universal is the latest installed
176:debug:main sqlite3 3.29.0_0 +universal is active
177:debug:main Merging existing variants '+universal' into variants
178:debug:main new fully merged portvariants: universal +
179:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/databases/sqlite3
180:debug:main OS darwin/18.7.0 (Mac OS X 10.14) arch i386
181:debug:main Sourcing PortGroup clang_dependency 1.0 from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/group/clang_dependency-1.0.tcl
182:debug:main adding the default universal variant
183:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
184:debug:main Executing variant universal provides universal
185:debug:main Running callback portconfigure::add_automatic_compiler_dependencies
186:debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies
187:debug:main Running callback portbuild::add_automatic_buildsystem_dependencies
188:debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies
189:debug:main Running callback portstartupitem::add_notes
190:debug:main Finished running callback portstartupitem::add_notes
191:debug:main No need to upgrade! sqlite3 3.29.0_0 >= sqlite3 3.29.0_0
192:debug:main epoch: in tree: 20090923 installed: 20090923
193:debug:main libedit 20190324-3.1_0 exists in the ports tree
194:debug:main libedit 20190324-3.1_0 +universal is the latest installed
195:debug:main libedit 20190324-3.1_0 +universal is active
196:debug:main Merging existing variants '+universal' into variants
197:debug:main new fully merged portvariants: universal +
198:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/devel/libedit
199:debug:main OS darwin/18.7.0 (Mac OS X 10.14) arch i386
200:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
201:debug:main Sourcing PortGroup muniversal 1.0 from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/group/muniversal-1.0.tcl
202:debug:main Sourcing PortGroup clang_dependency 1.0 from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/group/clang_dependency-1.0.tcl
203:debug:main universal variant already exists, so not adding the default one
204:debug:main Executing variant universal provides universal
205:debug:main Running callback portconfigure::add_automatic_compiler_dependencies
206:debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies
207:debug:main Running callback portbuild::add_automatic_buildsystem_dependencies
208:debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies
209:debug:main Running callback portstartupitem::add_notes
210:debug:main Finished running callback portstartupitem::add_notes
211:debug:main No need to upgrade! libedit 20190324-3.1_0 >= libedit 20190324-3.1_0
212:debug:main epoch: in tree: 0 installed: 0
213:debug:main ncurses 6.1_0 exists in the ports tree
214:debug:main ncurses 6.1_0  is the latest installed
215:debug:main ncurses 6.1_0  is active
216:debug:main Merging existing variants '' into variants
217:debug:main new fully merged portvariants:
218:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/devel/ncurses
219:debug:main OS darwin/18.7.0 (Mac OS X 10.14) arch i386
220:debug:main Sourcing PortGroup clang_dependency 1.0 from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/group/clang_dependency-1.0.tcl
221:debug:main adding the default universal variant
222:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
223:debug:main Running callback portconfigure::add_automatic_compiler_dependencies
224:debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies
225:debug:main Running callback portbuild::add_automatic_buildsystem_dependencies
226:debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies
227:debug:main Running callback portstartupitem::add_notes
228:debug:main Finished running callback portstartupitem::add_notes
229:debug:main No need to upgrade! ncurses 6.1_0 >= ncurses 6.1_0
230:debug:main epoch: in tree: 2 installed: 2
231:debug:main gettext 0.19.8.1_2 exists in the ports tree
232:debug:main gettext 0.19.8.1_2 +universal is the latest installed
233:debug:main gettext 0.19.8.1_2 +universal is active
234:debug:main Merging existing variants '+universal' into variants
235:debug:main new fully merged portvariants: universal +
236:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/devel/gettext
237:debug:main OS darwin/18.7.0 (Mac OS X 10.14) arch i386
238:debug:main Sourcing PortGroup compiler_blacklist_versions 1.0 from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/group/compiler_blacklist_versions-1.0.tcl
239:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
240:debug:main Sourcing PortGroup muniversal 1.0 from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/group/muniversal-1.0.tcl
241:debug:main Sourcing PortGroup clang_dependency 1.0 from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/group/clang_dependency-1.0.tcl
242:debug:main compiler clang 1001.0.46.4 not blacklisted because it doesn't match {clang < 211.10.1}
243:debug:main universal variant already exists, so not adding the default one
244:debug:main Executing variant universal provides universal
245:debug:main Running callback portconfigure::add_automatic_compiler_dependencies
246:debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies
247:debug:main Running callback portbuild::add_automatic_buildsystem_dependencies
248:debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies
249:debug:main Running callback portstartupitem::add_notes
250:debug:main Finished running callback portstartupitem::add_notes
251:debug:main No need to upgrade! gettext 0.19.8.1_2 >= gettext 0.19.8.1_2
252:debug:main epoch: in tree: 0 installed: 0
253:debug:main serf1 1.3.9_2 exists in the ports tree
254:debug:main serf1 1.3.9_2  is the latest installed
255:debug:main serf1 1.3.9_2  is active
256:debug:main Merging existing variants '' into variants
257:debug:main new fully merged portvariants:
258:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/www/serf1
259:debug:main OS darwin/18.7.0 (Mac OS X 10.14) arch i386
260:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
261:debug:main universal variant already exists, so not adding the default one
262:debug:main Running callback portconfigure::add_automatic_compiler_dependencies
263:debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies
264:debug:main Running callback portbuild::add_automatic_buildsystem_dependencies
265:debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies
266:debug:main Running callback portstartupitem::add_notes
267:debug:main Finished running callback portstartupitem::add_notes
268:debug:main No need to upgrade! serf1 1.3.9_2 >= serf1 1.3.9_2
269:debug:main epoch: in tree: 0 installed: 0
270:debug:main cyrus-sasl2 2.1.27_2 exists in the ports tree
271:debug:main cyrus-sasl2 2.1.27_2 +kerberos is the latest installed
272:debug:main cyrus-sasl2 2.1.27_2 +kerberos is active
273:debug:main Merging existing variants '+kerberos' into variants
274:debug:main new fully merged portvariants: kerberos +
275:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/security/cyrus-sasl2
276:debug:main OS darwin/18.7.0 (Mac OS X 10.14) arch i386
277:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
278:debug:main Sourcing PortGroup muniversal 1.0 from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/group/muniversal-1.0.tcl
279:debug:main Removing legacy build support
280:debug:main Sourcing PortGroup legacysupport 1.0 from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/group/legacysupport-1.0.tcl
281:debug:main universal variant already exists, so not adding the default one
282:debug:main Executing variant kerberos provides kerberos
283:debug:main Running callback portconfigure::add_automatic_compiler_dependencies
284:debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies
285:debug:main Running callback portbuild::add_automatic_buildsystem_dependencies
286:debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies
287:debug:main Running callback portstartupitem::add_notes
288:debug:main Finished running callback portstartupitem::add_notes
289:debug:main Running callback add_legacysupport
290:debug:main Removing legacy build support
291:debug:main Finished running callback add_legacysupport
292:debug:main No need to upgrade! cyrus-sasl2 2.1.27_2 >= cyrus-sasl2 2.1.27_2
293:debug:main epoch: in tree: 0 installed: 0
294:debug:main kerberos5 1.17_1 exists in the ports tree
295:debug:main kerberos5 1.17_1  is the latest installed
296:debug:main kerberos5 1.17_1  is active
297:debug:main Merging existing variants '' into variants
298:debug:main new fully merged portvariants:
299:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/net/kerberos5
300:debug:main OS darwin/18.7.0 (Mac OS X 10.14) arch i386
301:debug:main Sourcing PortGroup compiler_blacklist_versions 1.0 from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/group/compiler_blacklist_versions-1.0.tcl
302:debug:main compiler clang 1001.0.46.4 not blacklisted because it doesn't match {clang <= 318.0.61}
303:debug:main adding the default universal variant
304:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
305:debug:main Running callback portconfigure::add_automatic_compiler_dependencies
306:debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies
307:debug:main Running callback portbuild::add_automatic_buildsystem_dependencies
308:debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies
309:debug:main Running callback portstartupitem::add_notes
310:debug:main Finished running callback portstartupitem::add_notes
311:debug:main No need to upgrade! kerberos5 1.17_1 >= kerberos5 1.17_1
312:debug:main epoch: in tree: 0 installed: 0
313:debug:main libcomerr 1.45.3_0 exists in the ports tree
314:debug:main libcomerr 1.45.3_0  is the latest installed
315:debug:main libcomerr 1.45.3_0  is active
316:debug:main Merging existing variants '' into variants
317:debug:main new fully merged portvariants:
318:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/sysutils/e2fsprogs
319:debug:main OS darwin/18.7.0 (Mac OS X 10.14) arch i386
320:debug:main adding the default universal variant
321:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
322:debug:main Running callback portconfigure::add_automatic_compiler_dependencies
323:debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies
324:debug:main Running callback portbuild::add_automatic_buildsystem_dependencies
325:debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies
326:debug:main Running callback portstartupitem::add_notes
327:debug:main Finished running callback portstartupitem::add_notes
328:debug:main No need to upgrade! libcomerr 1.45.3_0 >= libcomerr 1.45.3_0
329:debug:main epoch: in tree: 0 installed: 0
330:debug:main libmagic 5.37_0 exists in the ports tree
331:debug:main libmagic 5.37_0  is the latest installed
332:debug:main libmagic 5.37_0  is active
333:debug:main Merging existing variants '' into variants
334:debug:main new fully merged portvariants:
335:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/sysutils/file
336:debug:main OS darwin/18.7.0 (Mac OS X 10.14) arch i386
337:debug:main adding the default universal variant
338:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
339:debug:main Running callback portconfigure::add_automatic_compiler_dependencies
340:debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies
341:debug:main Running callback portbuild::add_automatic_buildsystem_dependencies
342:debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies
343:debug:main Running callback portstartupitem::add_notes
344:debug:main Finished running callback portstartupitem::add_notes
345:debug:main No need to upgrade! libmagic 5.37_0 >= libmagic 5.37_0
346:debug:main epoch: in tree: 0 installed: 0
347:debug:main libutf8proc 2.4.0_0 exists in the ports tree
348:debug:main libutf8proc 2.4.0_0  is the latest installed
349:debug:main libutf8proc 2.4.0_0  is active
350:debug:main Merging existing variants '' into variants
351:debug:main new fully merged portvariants:
352:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/textproc/libutf8proc
353:debug:main OS darwin/18.7.0 (Mac OS X 10.14) arch i386
354:debug:main Sourcing PortGroup github 1.0 from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/group/github-1.0.tcl
355:debug:main Re-registering default for livecheck.regex
356:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
357:debug:main universal variant already exists, so not adding the default one
358:debug:main Running callback portconfigure::add_automatic_compiler_dependencies
359:debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies
360:debug:main Running callback portbuild::add_automatic_buildsystem_dependencies
361:debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies
362:debug:main Running callback portstartupitem::add_notes
363:debug:main Finished running callback portstartupitem::add_notes
364:debug:main No need to upgrade! libutf8proc 2.4.0_0 >= libutf8proc 2.4.0_0
365:debug:main epoch: in tree: 0 installed: 0
366:debug:main lz4 1.9.2_0 exists in the ports tree
367:debug:main lz4 1.9.2_0 +universal is the latest installed
368:debug:main lz4 1.9.2_0 +universal is active
369:debug:main Merging existing variants '+universal' into variants
370:debug:main new fully merged portvariants: universal +
371:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/archivers/lz4
372:debug:main OS darwin/18.7.0 (Mac OS X 10.14) arch i386
373:debug:main Sourcing PortGroup github 1.0 from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/group/github-1.0.tcl
374:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
375:debug:main Sourcing PortGroup muniversal 1.0 from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/group/muniversal-1.0.tcl
376:debug:main Sourcing PortGroup clang_dependency 1.0 from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/group/clang_dependency-1.0.tcl
377:debug:main Re-registering default for livecheck.regex
378:debug:main universal variant already exists, so not adding the default one
379:debug:main Executing variant universal provides universal
380:debug:main Running callback portconfigure::add_automatic_compiler_dependencies
381:debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies
382:debug:main Running callback portbuild::add_automatic_buildsystem_dependencies
383:debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies
384:debug:main Running callback portstartupitem::add_notes
385:debug:main Finished running callback portstartupitem::add_notes
386:debug:main No need to upgrade! lz4 1.9.2_0 >= lz4 1.9.2_0
387:debug:main epoch: in tree: 0 installed: 0
388:debug:main curl-ca-bundle 7.65.3_1 exists in the ports tree
389:debug:main curl-ca-bundle 7.65.3_1  is the latest installed
390:debug:main curl-ca-bundle 7.65.3_1  is active
391:debug:main Merging existing variants '' into variants
392:debug:main new fully merged portvariants:
393:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/net/curl
394:debug:main OS darwin/18.7.0 (Mac OS X 10.14) arch i386
395:debug:main Sourcing PortGroup clang_dependency 1.0 from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/group/clang_dependency-1.0.tcl
396:debug:main universal_variant is false, so not adding the default universal variant
397:debug:main Running callback portconfigure::add_automatic_compiler_dependencies
398:debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies
399:debug:main Running callback portbuild::add_automatic_buildsystem_dependencies
400:debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies
401:debug:main Running callback portstartupitem::add_notes
402:debug:main Finished running callback portstartupitem::add_notes
403:debug:main No need to upgrade! curl-ca-bundle 7.65.3_1 >= curl-ca-bundle 7.65.3_1
404:msg:main --->  Computing dependencies for medusa:info:main .:debug:main medusa has no conflicts
405:debug:main Searching for dependency: openssl
406:debug:main Found Dependency: receipt exists for openssl
407:debug:main Searching for dependency: libssh2
408:debug:main Found Dependency: receipt exists for libssh2
409:debug:main Searching for dependency: subversion
410:debug:main Found Dependency: receipt exists for subversion
411:debug:main Executing org.macports.main (medusa)
412:debug:main dropping privileges: euid changed to 502, egid changed to 20.
413:debug:archivefetch archivefetch phase started at Tue Sep 10 13:47:31 EDT 2019
414:msg:archivefetch --->  Fetching archive for medusa
415:debug:archivefetch Executing org.macports.archivefetch (medusa)
416:debug:archivefetch euid/egid changed to: 0/0
417:debug:archivefetch chowned /opt/local/var/macports/incoming to macports
418:debug:archivefetch euid/egid changed to: 502/20
419:info:archivefetch --->  medusa-2.1.1_2+subversion.darwin_18.x86_64.tbz2 doesn't seem to exist in /opt/local/var/macports/incoming/verified
420:msg:archivefetch --->  Attempting to fetch medusa-2.1.1_2+subversion.darwin_18.x86_64.tbz2 from https://packages.macports.org/medusa
421:debug:archivefetch Fetching archive failed: The requested URL returned error: 404 Not Found
422:msg:archivefetch --->  Attempting to fetch medusa-2.1.1_2+subversion.darwin_18.x86_64.tbz2 from http://ywg.ca.packages.macports.org/mirror/macports/packages/medusa
423:debug:archivefetch Fetching archive failed: The requested URL returned error: 404 Not Found
424:msg:archivefetch --->  Attempting to fetch medusa-2.1.1_2+subversion.darwin_18.x86_64.tbz2 from http://aus.us.packages.macports.org/macports/packages/medusa
425:debug:archivefetch Fetching archive failed: The requested URL returned error: 404 Not Found
426:debug:archivefetch Privilege de-escalation not attempted as not running as root.
427:debug:fetch fetch phase started at Tue Sep 10 13:47:32 EDT 2019
428:notice:fetch --->  Fetching distfiles for medusa
429:debug:fetch Executing org.macports.fetch (medusa)
430:debug:fetch Privilege de-escalation not attempted as not running as root.
431:debug:checksum checksum phase started at Tue Sep 10 13:47:32 EDT 2019
432:notice:checksum --->  Verifying checksums for medusa
433:debug:checksum Executing org.macports.checksum (medusa)
434:info:checksum --->  Checksumming medusa-2.1.1.tar.gz
435:debug:checksum Calculated (rmd160) is 0638e4f9e1ce2df6351f98afd7ecdee10a7bbbfc
436:debug:checksum Correct (rmd160) checksum for medusa-2.1.1.tar.gz
437:debug:checksum Calculated (sha256) is c8f83f54f76f021f213007c1c83e659f30dd16de84046df2b50e3db2bb6a7ef2
438:debug:checksum Correct (sha256) checksum for medusa-2.1.1.tar.gz
439:debug:checksum Privilege de-escalation not attempted as not running as root.
440:debug:extract extract phase started at Tue Sep 10 13:47:32 EDT 2019
441:notice:extract --->  Extracting medusa
442:debug:extract Executing org.macports.extract (medusa)
443:info:extract --->  Extracting medusa-2.1.1.tar.gz
444:debug:extract setting option extract.args to '/opt/local/var/macports/distfiles/medusa/medusa-2.1.1.tar.gz'
445:debug:extract Environment:
446:debug:extract CC_PRINT_OPTIONS='YES'
447:debug:extract CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_security_medusa/medusa/work/.CC_PRINT_OPTIONS'
448:debug:extract CPATH='/opt/local/include'
449:debug:extract LIBRARY_PATH='/opt/local/lib'
450:debug:extract MACOSX_DEPLOYMENT_TARGET='10.14'
451:info:extract Executing:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_security_medusa/medusa/work" && /usr/bin/gzip -dc '/opt/local/var/macports/distfiles/medusa/medusa-2.1.1.tar.gz' | /usr/bin/tar -xf -
452:debug:extract system:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_security_medusa/medusa/work" && /usr/bin/gzip -dc '/opt/local/var/macports/distfiles/medusa/medusa-2.1.1.tar.gz' | /usr/bin/tar -xf -
453:debug:extract euid/egid changed to: 0/0
454:debug:extract chowned /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_security_medusa/medusa/work to macports
455:debug:extract euid/egid changed to: 502/20
456:debug:extract Privilege de-escalation not attempted as not running as root.
457:debug:patch patch phase started at Tue Sep 10 13:47:32 EDT 2019
458:debug:patch Executing org.macports.patch (medusa)
459:notice:patch --->  Applying patches to medusa
460:info:patch --->  Applying src_medusa.c.diff
461:debug:patch Environment:
462:debug:patch CC_PRINT_OPTIONS='YES'
463:debug:patch CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_security_medusa/medusa/work/.CC_PRINT_OPTIONS'
464:debug:patch CPATH='/opt/local/include'
465:debug:patch LIBRARY_PATH='/opt/local/lib'
466:debug:patch MACOSX_DEPLOYMENT_TARGET='10.14'
467:info:patch Executing:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_security_medusa/medusa/work/medusa-2.1.1" && /usr/bin/patch -p0 < '/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/security/medusa/files/src_medusa.c.diff'
468:debug:patch system:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_security_medusa/medusa/work/medusa-2.1.1" && /usr/bin/patch -p0 < '/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/security/medusa/files/src_medusa.c.diff'
469:info:patch patching file src/medusa.c
470:debug:patch Privilege de-escalation not attempted as not running as root.
471:debug:configure configure phase started at Tue Sep 10 13:47:32 EDT 2019
472:notice:configure --->  Configuring medusa
473:debug:configure Preferred compilers: clang macports-clang-5.0 macports-clang-4.0
474:debug:configure Using compiler 'Xcode Clang'
475:debug:configure Executing org.macports.configure (medusa)
476:debug:configure Environment:
477:debug:configure CC='/usr/bin/clang'
478:debug:configure CC_PRINT_OPTIONS='YES'
479:debug:configure CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_security_medusa/medusa/work/.CC_PRINT_OPTIONS'
480:debug:configure CFLAGS='-pipe -Os -isysroot/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -arch x86_64'
481:debug:configure CPATH='/opt/local/include'
482:debug:configure CPPFLAGS='-I/opt/local/include -isysroot/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk'
483:debug:configure CXX='/usr/bin/clang++'
484:debug:configure CXXFLAGS='-pipe -Os -stdlib=libc++ -isysroot/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -arch x86_64'
485:debug:configure F77FLAGS='-m64'
486:debug:configure F90FLAGS='-pipe -Os -m64'
487:debug:configure FCFLAGS='-pipe -Os -m64'
488:debug:configure FFLAGS='-pipe -Os'
489:debug:configure INSTALL='/usr/bin/install -c'
490:debug:configure LDFLAGS='-L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -arch x86_64'
491:debug:configure LIBRARY_PATH='/opt/local/lib'
492:debug:configure MACOSX_DEPLOYMENT_TARGET='10.14'
493:debug:configure OBJC='/usr/bin/clang'
494:debug:configure OBJCFLAGS='-pipe -Os -isysroot/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -arch x86_64'
495:debug:configure OBJCXX='/usr/bin/clang++'
496:debug:configure OBJCXXFLAGS='-pipe -Os -stdlib=libc++ -isysroot/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -arch x86_64'
497:info:configure Executing:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_security_medusa/medusa/work/medusa-2.1.1" && ./configure --prefix=/opt/local --enable-module-postgres=no --enable-module-svn=yes --with-subversion=/opt/local
498:debug:configure system:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_security_medusa/medusa/work/medusa-2.1.1" && ./configure --prefix=/opt/local --enable-module-postgres=no --enable-module-svn=yes --with-subversion=/opt/local
499:info:configure configure: WARNING: unrecognized options: --with-subversion
500:info:configure checking build system type... i686-apple-darwin18.7.0
501:info:configure checking host system type... i686-apple-darwin18.7.0
502:info:configure checking target system type... i686-apple-darwin18.7.0
503:info:configure checking for a BSD-compatible install... /usr/bin/install -c
504:info:configure checking whether build environment is sane... yes
505:info:configure checking for a thread-safe mkdir -p... /opt/local/bin/gmkdir -p
506:info:configure checking for gawk... no
507:info:configure checking for mawk... no
508:info:configure checking for nawk... no
509:info:configure checking for awk... awk
510:info:configure checking whether make sets $(MAKE)... yes
511:info:configure checking for gcc... /usr/bin/clang
512:info:configure checking whether the C compiler works... yes
513:info:configure checking for C compiler default output file name... a.out
514:info:configure checking for suffix of executables...
515:info:configure checking whether we are cross compiling... no
516:info:configure checking for suffix of object files... o
517:info:configure checking whether we are using the GNU C compiler... yes
518:info:configure checking whether /usr/bin/clang accepts -g... yes
519:info:configure checking for /usr/bin/clang option to accept ISO C89... none needed
520:info:configure checking for style of include used by make... GNU
521:info:configure checking dependency style of /usr/bin/clang... gcc3
522:info:configure checking how to run the C preprocessor... /usr/bin/clang -E
523:info:configure checking for grep that handles long lines and -e... /opt/local/bin/ggrep
524:info:configure checking for egrep... /opt/local/bin/ggrep -E
525:info:configure checking for ANSI C header files... yes
526:info:configure checking for sys/types.h... yes
527:info:configure checking for sys/stat.h... yes
528:info:configure checking for stdlib.h... yes
529:info:configure checking for string.h... yes
530:info:configure checking for memory.h... yes
531:info:configure checking for strings.h... yes
532:info:configure checking for inttypes.h... yes
533:info:configure checking for stdint.h... yes
534:info:configure checking for unistd.h... yes
535:info:configure checking size of int... 4
536:info:configure checking size of long... 8
537:info:configure checking size of long long... 8
538:info:configure checking size of short... 2
539:info:configure checking whether to enable debugging... yes
540:info:configure configure: checking for pthread support...
541:info:configure checking for main in -lpthread... yes
542:info:configure configure: checking for dlopen/dlclose...
543:info:configure checking for dlclose in -ldl... yes
544:info:configure checking for library containing clock_gettime... none required
545:info:configure checking for clock_gettime... yes
546:info:configure configure: checking for OpenSSL Library and Header files...
547:info:configure checking for CRYPTO_lock in -lcrypto... no
548:info:configure configure: WARNING:  *** LibCrypto may be required for *BSD ***
549:info:configure checking openssl/ssl.h usability... yes
550:info:configure checking openssl/ssl.h presence... yes
551:info:configure checking for openssl/ssl.h... yes
552:info:configure checking for main in -lssl... yes
553:info:configure configure: *** Checking module dependencies and enabling accordingly ***
554:info:configure configure: checking for AFPFS-NG Library and Header files...
555:info:configure checking afpfs-ng/afp_protocol.h usability... no
556:info:configure checking afpfs-ng/afp_protocol.h presence... no
557:info:configure checking for afpfs-ng/afp_protocol.h... no
558:info:configure configure: WARNING:  *** AFPFS-NG header files required for AFP module. ***
559:info:configure     The AFPFS-NG package must be installed for the AFP module to function. This includes
560:info:configure     both the library and header files. AFPFS-NG is available at the following site:
561:info:configure     http://alexthepuffin.googlepages.com/. The AFP module will NOT be built.
562:info:configure   
563:info:configure checking whether to enable AFP module... no
564:info:configure checking whether to enable CVS module... yes
565:info:configure checking whether to enable FTP module... yes
566:info:configure checking whether to enable HTTP module... yes
567:info:configure checking whether to enable IMAP module... yes
568:info:configure checking whether to enable MSSQL module... yes
569:info:configure checking whether to enable MYSQL module... yes
570:info:configure configure: checking for NCPFS Library and Header files...
571:info:configure checking ncp/nwcalls.h usability... no
572:info:configure checking ncp/nwcalls.h presence... no
573:info:configure checking for ncp/nwcalls.h... no
574:info:configure configure: WARNING:  *** NCPFS header files required for NCP module. ***
575:info:configure     The NCPFS package must be installed for the NCP module to function. This includes
576:info:configure     both the library and header files. If your distribution does not include these
577:info:configure     files or offer a ncpfs-devel package, the files can be manually installed using
578:info:configure     "make install-dev" within the NCPFS source. The NCP module will NOT be built.
579:info:configure   
580:info:configure checking whether to enable NCP module... no
581:info:configure checking whether to enable NNTP module... yes
582:info:configure checking whether to enable PCANYWHERE module... yes
583:info:configure checking whether to enable POP3 module... yes
584:info:configure configure: checking for PostgreSQL Library and Header files...
585:info:configure checking libpq-fe.h usability... no
586:info:configure checking libpq-fe.h presence... no
587:info:configure checking for libpq-fe.h... no
588:info:configure configure: WARNING:  *** LIBPQ header files required for PostgreSQL module. ***
589:info:configure       The PostgreSQL package must be installed for PostgreSQL module to function. This
590:info:configure       includes both the library and header files. Your distribution may offer a package
591:info:configure       such as libpq-devel or postgresql-devel, which will provide these files.
592:info:configure   
593:info:configure checking whether to enable POSTGRES module... no
594:info:configure checking whether to enable REXEC module... yes
595:info:configure checking whether to enable RLOGIN module... yes
596:info:configure checking whether to enable RSH module... yes
597:info:configure checking whether to enable SMBNT module... yes
598:info:configure checking whether to enable SMTP module... yes
599:info:configure checking whether to enable SMTP-VRFY module... yes
600:info:configure checking whether to enable SNMP module... yes
601:info:configure configure: checking for Libssh2 Library files...
602:info:configure checking for main in -lssh2... yes
603:info:configure checking whether to enable SSH module... yes
604:info:configure configure: checking for Subversion Library and Header files...
605:info:configure checking for apr-1-config... /opt/local/bin/apr-1-config
606:info:configure checking /opt/local/include/apr-1/apr_tables.h usability... yes
607:info:configure checking /opt/local/include/apr-1/apr_tables.h presence... yes
608:info:configure checking for /opt/local/include/apr-1/apr_tables.h... yes
609:info:configure checking subversion-1/svn_client.h usability... yes
610:info:configure checking subversion-1/svn_client.h presence... yes
611:info:configure checking for subversion-1/svn_client.h... yes
612:info:configure checking for main in -lsvn_client-1... yes
613:info:configure checking whether to enable SVN module... yes
614:info:configure checking whether to enable TELNET module... yes
615:info:configure checking whether to enable VMAUTHD module... yes
616:info:configure checking whether to enable VNC module... yes
617:info:configure checking whether to enable WRAPPER module... yes
618:info:configure checking whether to enable WEB-FORM module... yes
619:info:configure configure:
620:info:configure configure: *******************************************************
621:info:configure configure:     Medusa Module Build Summary
622:info:configure configure:
623:info:configure configure:     AFP             ** Disabled **
624:info:configure configure:     CVS             Enabled
625:info:configure configure:     FTP             Enabled
626:info:configure configure:     HTTP            Enabled
627:info:configure configure:     IMAP            Enabled
628:info:configure configure:     MSSQL           Enabled
629:info:configure configure:     MYSQL           Enabled
630:info:configure configure:     NCP             ** Disabled **
631:info:configure configure:     NNTP            Enabled
632:info:configure configure:     PCANYWHERE      Enabled
633:info:configure configure:     POP3            Enabled
634:info:configure configure:     POSTGRES        ** Disabled **
635:info:configure configure:     REXEC           Enabled
636:info:configure configure:     RLOGIN          Enabled
637:info:configure configure:     RSH             Enabled
638:info:configure configure:     SMBNT           Enabled
639:info:configure configure:     SMTP            Enabled
640:info:configure configure:     SMTP-VRFY       Enabled
641:info:configure configure:     SNMP            Enabled
642:info:configure configure:     SSH             Enabled
643:info:configure configure:     SVN             Enabled
644:info:configure configure:     TELNET          Enabled
645:info:configure configure:     VMAUTHD         Enabled
646:info:configure configure:     VNC             Enabled
647:info:configure configure:     WRAPPER         Enabled
648:info:configure configure:     WEB-FORM        Enabled
649:info:configure configure:
650:info:configure configure:  If a module is unexpectedly marked as disabled, check
651:info:configure configure:  above output and verify dependancies were satisfied.
652:info:configure configure:
653:info:configure configure:  It should also be noted that, by default, not all of
654:info:configure configure:  the modules are built. Incomplete modules or modules
655:info:configure configure:  which have not been sufficiently tested may be
656:info:configure configure:  disabled. To enable non-default modules, use the
657:info:configure configure:  "--enable-module-MODULE_NAME" configure option.
658:info:configure configure: *******************************************************
659:info:configure configure:
660:info:configure checking for strcasestr... yes
661:info:configure checking for asprintf... yes
662:info:configure checking for vasprintf... yes
663:info:configure configure: creating ./config.status
664:info:configure config.status: creating Makefile
665:info:configure config.status: creating src/Makefile
666:info:configure config.status: creating src/modsrc/Makefile
667:info:configure config.status: creating config.h
668:info:configure config.status: executing depfiles commands
669:info:configure configure: WARNING: unrecognized options: --with-subversion
670:debug:configure Privilege de-escalation not attempted as not running as root.
671:debug:build build phase started at Tue Sep 10 13:47:38 EDT 2019
672:notice:build --->  Building medusa
673:debug:build Executing org.macports.build (medusa)
674:debug:build Environment:
675:debug:build CC_PRINT_OPTIONS='YES'
676:debug:build CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_security_medusa/medusa/work/.CC_PRINT_OPTIONS'
677:debug:build CPATH='/opt/local/include'
678:debug:build LIBRARY_PATH='/opt/local/lib'
679:debug:build MACOSX_DEPLOYMENT_TARGET='10.14'
680:info:build Executing:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_security_medusa/medusa/work/medusa-2.1.1" && /usr/bin/make -j8 -w all
681:debug:build system:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_security_medusa/medusa/work/medusa-2.1.1" && /usr/bin/make -j8 -w all
682:info:build make: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_security_medusa/medusa/work/medusa-2.1.1'
683:info:build /Applications/Xcode.app/Contents/Developer/usr/bin/make  all-recursive
684:info:build make[1]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_security_medusa/medusa/work/medusa-2.1.1'
685:info:build Making all in src
686:info:build make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_security_medusa/medusa/work/medusa-2.1.1/src'
687:info:build Making all in modsrc
688:info:build make[3]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_security_medusa/medusa/work/medusa-2.1.1/src/modsrc'
689:info:build /usr/bin/clang -DHAVE_CONFIG_H -I. -I../.. -I../../src   -I/opt/local/include -isysroot/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -g -DDEBUG -fPIC -I/usr/include -I/usr/local/include -I/usr/local/ssl/include -I/usr/include/postgresql -I/usr/include/pgsql -I/usr/include/afpfs-ng -I/opt/local/include  -I/opt/local/include/apr-1   -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -DDARWIN_10  -pipe -Os -isysroot/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -arch x86_64 -MT cvs.o -MD -MP -MF .deps/cvs.Tpo -c -o cvs.o cvs.c
690:info:build /usr/bin/clang -DHAVE_CONFIG_H -I. -I../.. -I../../src   -I/opt/local/include -isysroot/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -g -DDEBUG -fPIC -I/usr/include -I/usr/local/include -I/usr/local/ssl/include -I/usr/include/postgresql -I/usr/include/pgsql -I/usr/include/afpfs-ng -I/opt/local/include  -I/opt/local/include/apr-1   -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -DDARWIN_10  -pipe -Os -isysroot/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -arch x86_64 -MT medusa-trace.o -MD -MP -MF .deps/medusa-trace.Tpo -c -o medusa-trace.o `test -f '../medusa-trace.c' || echo './'`../medusa-trace.c
691:info:build /usr/bin/clang -DHAVE_CONFIG_H -I. -I../.. -I../../src   -I/opt/local/include -isysroot/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -g -DDEBUG -fPIC -I/usr/include -I/usr/local/include -I/usr/local/ssl/include -I/usr/include/postgresql -I/usr/include/pgsql -I/usr/include/afpfs-ng -I/opt/local/include  -I/opt/local/include/apr-1   -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -DDARWIN_10  -pipe -Os -isysroot/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -arch x86_64 -MT ftp.o -MD -MP -MF .deps/ftp.Tpo -c -o ftp.o ftp.c
692:info:build /usr/bin/clang -DHAVE_CONFIG_H -I. -I../.. -I../../src   -I/opt/local/include -isysroot/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -g -DDEBUG -fPIC -I/usr/include -I/usr/local/include -I/usr/local/ssl/include -I/usr/include/postgresql -I/usr/include/pgsql -I/usr/include/afpfs-ng -I/opt/local/include  -I/opt/local/include/apr-1   -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -DDARWIN_10  -pipe -Os -isysroot/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -arch x86_64 -MT http.o -MD -MP -MF .deps/http.Tpo -c -o http.o http.c
693:info:build /usr/bin/clang -DHAVE_CONFIG_H -I. -I../.. -I../../src   -I/opt/local/include -isysroot/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -g -DDEBUG -fPIC -I/usr/include -I/usr/local/include -I/usr/local/ssl/include -I/usr/include/postgresql -I/usr/include/pgsql -I/usr/include/afpfs-ng -I/opt/local/include  -I/opt/local/include/apr-1   -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -DDARWIN_10  -pipe -Os -isysroot/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -arch x86_64 -MT ntlm.o -MD -MP -MF .deps/ntlm.Tpo -c -o ntlm.o ntlm.c
694:info:build /usr/bin/clang -DHAVE_CONFIG_H -I. -I../.. -I../../src   -I/opt/local/include -isysroot/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -g -DDEBUG -fPIC -I/usr/include -I/usr/local/include -I/usr/local/ssl/include -I/usr/include/postgresql -I/usr/include/pgsql -I/usr/include/afpfs-ng -I/opt/local/include  -I/opt/local/include/apr-1   -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -DDARWIN_10  -pipe -Os -isysroot/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -arch x86_64 -MT http-digest.o -MD -MP -MF .deps/http-digest.Tpo -c -o http-digest.o http-digest.c
695:info:build /usr/bin/clang -DHAVE_CONFIG_H -I. -I../.. -I../../src   -I/opt/local/include -isysroot/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -g -DDEBUG -fPIC -I/usr/include -I/usr/local/include -I/usr/local/ssl/include -I/usr/include/postgresql -I/usr/include/pgsql -I/usr/include/afpfs-ng -I/opt/local/include  -I/opt/local/include/apr-1   -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -DDARWIN_10  -pipe -Os -isysroot/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -arch x86_64 -MT imap.o -MD -MP -MF .deps/imap.Tpo -c -o imap.o imap.c
696:info:build /usr/bin/clang -DHAVE_CONFIG_H -I. -I../.. -I../../src   -I/opt/local/include -isysroot/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -g -DDEBUG -fPIC -I/usr/include -I/usr/local/include -I/usr/local/ssl/include -I/usr/include/postgresql -I/usr/include/pgsql -I/usr/include/afpfs-ng -I/opt/local/include  -I/opt/local/include/apr-1   -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -DDARWIN_10  -pipe -Os -isysroot/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -arch x86_64 -MT mssql.o -MD -MP -MF .deps/mssql.Tpo -c -o mssql.o mssql.c
697:info:build http-digest.c:57:17: warning: passing 'HASH' (aka 'char [16]') to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
698:info:build       MD5_Final(HA1, &Md5Ctx);
699:info:build                 ^~~
700:info:build /opt/local/include/openssl/md5.h:42:30: note: passing argument to parameter 'md' here
701:info:build int MD5_Final(unsigned char *md, MD5_CTX *c);
702:info:build                              ^
703:info:build http-digest.c:66:23: warning: passing 'HASH' (aka 'char [16]') to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
704:info:build             MD5_Final(HA1, &Md5Ctx);
705:info:build                       ^~~
706:info:build /opt/local/include/openssl/md5.h:42:30: note: passing argument to parameter 'md' here
707:info:build int MD5_Final(unsigned char *md, MD5_CTX *c);
708:info:build                              ^
709:info:build http-digest.c:98:17: warning: passing 'HASH' (aka 'char [16]') to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
710:info:build       MD5_Final(HA2, &Md5Ctx);
711:info:build                 ^~~
712:info:build /opt/local/include/openssl/md5.h:42:30: note: passing argument to parameter 'md' here
713:info:build int MD5_Final(unsigned char *md, MD5_CTX *c);
714:info:build                              ^
715:info:build http-digest.c:117:17: warning: passing 'HASH' (aka 'char [16]') to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
716:info:build       MD5_Final(RespHash, &Md5Ctx);
717:info:build                 ^~~~~~~~
718:info:build /opt/local/include/openssl/md5.h:42:30: note: passing argument to parameter 'md' here
719:info:build int MD5_Final(unsigned char *md, MD5_CTX *c);
720:info:build                              ^
721:info:build 4 warnings generated.
722:info:build mv -f .deps/http-digest.Tpo .deps/http-digest.Po
723:info:build http.c:106:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
724:info:build     writeError(ERR_ERROR, "%s reports an error in summaryUsage() : ppszSummary must be NULL when called", MODULE_NAME);
725:info:build     ^
726:info:build http.c:113:3: warning: implicit declaration of function 'writeVerbose' is invalid in C99 [-Wimplicit-function-declaration]
727:info:build   writeVerbose(VB_NONE, "%s (%s) %s :: %s\n", MODULE_NAME, MODULE_VERSION, MODULE_AUTHOR, MODULE_SUMMARY_USAGE);
728:info:build   ^
729:info:build http.c:136:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
730:info:build     writeError(ERR_ERROR, "%s: Incorrect number of parameters passed to module.", MODULE_NAME);
731:info:build     ^
732:info:build http.c:142:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
733:info:build     writeError(ERR_DEBUG_MODULE, "OMG teh %s module has been called!!", MODULE_NAME);
734:info:build     ^
735:info:build http.c:133:21: warning: result of comparison of constant 2 with boolean expression is always true [-Wtautological-constant-out-of-range-compare]
736:info:build   if ( !( 0 <= argc <= 2) )
737:info:build           ~~~~~~~~~ ^  ~
738:info:build http.c:239:7: warning: implicit declaration of function 'getNextCredSet' is invalid in C99 [-Wimplicit-function-declaration]
739:info:build   if (getNextCredSet(_psLogin, psCredSet) == FAILURE)
740:info:build       ^
741:info:build http.c:241:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
742:info:build     writeError(ERR_ERROR, "[%s] Error retrieving next credential set to test.", MODULE_NAME);
743:info:build     ^
744:info:build http.c:246:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
745:info:build     writeError(ERR_DEBUG_MODULE, "[%s] module started for host: %s user: %s", MODULE_NAME, _psLogin->psServer->pHostIP, psCredSet->psUser->pUser);
746:info:build     ^
747:info:build http.c:250:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
748:info:build     writeError(ERR_DEBUG_MODULE, "[%s] module started for host: %s - no more available users to test.", MODULE_NAME, _psLogin->psServer->pHostIP);
749:info:build     ^
750:info:build http.c:301:9: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
751:info:build         writeError(ERR_NOTICE, "%s: failed to connect, port %d was not open on %s", MODULE_NAME, params.nPort, _psLogin->psServer->pHostIP);
752:info:build         ^
753:info:build http.c:328:11: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
754:info:build           writeError(ERR_ERROR, "[%s] Error retrieving next credential set to test.", MODULE_NAME);
755:info:build           ^
756:info:build http.c:335:13: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
757:info:build             writeError(ERR_DEBUG_MODULE, "[%s] No more available credential sets to test.", MODULE_NAME);
758:info:build             ^
759:info:build http.c:340:13: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
760:info:build             writeError(ERR_DEBUG_MODULE, "[%s] Starting testing for new user: %s.", MODULE_NAME, psCredSet->psUser->pUser);
761:info:build             ^
762:info:build http.c:344:13: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
763:info:build             writeError(ERR_DEBUG_MODULE, "[%s] Next credential set - user: %s password: %s", MODULE_NAME, psCredSet->psUser->pUser, psCredSet->pPass);
764:info:build             ^
765:info:build http.c:356:7: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
766:info:build       writeError(ERR_CRITICAL, "Unknown HTTP module state (%d). Exiting...", nState);
767:info:build       ^
768:info:build /usr/bin/clang -DHAVE_CONFIG_H -I. -I../.. -I../../src   -I/opt/local/include -isysroot/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -g -DDEBUG -fPIC -I/usr/include -I/usr/local/include -I/usr/local/ssl/include -I/usr/include/postgresql -I/usr/include/pgsql -I/usr/include/afpfs-ng -I/opt/local/include  -I/opt/local/include/apr-1   -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -DDARWIN_10  -pipe -Os -isysroot/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -arch x86_64 -MT mysql.o -MD -MP -MF .deps/mysql.Tpo -c -o mysql.o mysql.c
769:info:build http.c:382:11: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
770:info:build   sprintf(bufSend, "GET /%s HTTP/1.1\r\nHost: %s\r\nUser-Agent: %s\r\n\r\n",
771:info:build           ^~~~~~~
772:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf'
773:info:build   __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
774:info:build                            ^~~
775:info:build http.c:385:3: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
776:info:build   writeError(ERR_DEBUG_MODULE, "[%s] Sending initial non-authentication request: %s", MODULE_NAME, bufSend);
777:info:build   ^
778:info:build http.c:386:27: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
779:info:build   if (medusaSend(hSocket, bufSend, nSendBufferSize, 0) < 0)
780:info:build                           ^~~~~~~
781:info:build ../../src/medusa-net.h:86:41: note: passing argument to parameter 'buf' here
782:info:build extern int medusaSend(int socket, char *buf, int size, int options);
783:info:build                                         ^
784:info:build http.c:402:19: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
785:info:build   if ((strcasestr(bufReceive, "WWW-Authenticate: Basic")) || (strcasestr(bufReceive, "WWW-Authenticate:Basic")))
786:info:build                   ^~~~~~~~~~
787:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/string.h:160:30: note: passing argument to parameter '__big' here
788:info:build char    *strcasestr(const char *__big, const char *__little);
789:info:build                                 ^
790:info:build http.c:402:74: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
791:info:build   if ((strcasestr(bufReceive, "WWW-Authenticate: Basic")) || (strcasestr(bufReceive, "WWW-Authenticate:Basic")))
792:info:build                                                                          ^~~~~~~~~~
793:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/string.h:160:30: note: passing argument to parameter '__big' here
794:info:build char    *strcasestr(const char *__big, const char *__little);
795:info:build                                 ^
796:info:build http.c:407:24: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
797:info:build   else if ((strcasestr(bufReceive, "WWW-Authenticate: NTLM")) || (strcasestr(bufReceive, "WWW-Authenticate:NTLM")))
798:info:build                        ^~~~~~~~~~
799:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/string.h:160:30: note: passing argument to parameter '__big' here
800:info:build char    *strcasestr(const char *__big, const char *__little);
801:info:build                                 ^
802:info:build http.c:407:78: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
803:info:build   else if ((strcasestr(bufReceive, "WWW-Authenticate: NTLM")) || (strcasestr(bufReceive, "WWW-Authenticate:NTLM")))
804:info:build                                                                              ^~~~~~~~~~
805:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/string.h:160:30: note: passing argument to parameter '__big' here
806:info:build char    *strcasestr(const char *__big, const char *__little);
807:info:build                                 ^
808:info:build http.c:412:24: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
809:info:build   else if ((strcasestr(bufReceive, "WWW-Authenticate: Digest")) || strcasestr(bufReceive, "WWW-Authenticate:Digest"))
810:info:build                        ^~~~~~~~~~
811:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/string.h:160:30: note: passing argument to parameter '__big' here
812:info:build char    *strcasestr(const char *__big, const char *__little);
813:info:build                                 ^
814:info:build http.c:412:79: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
815:info:build   else if ((strcasestr(bufReceive, "WWW-Authenticate: Digest")) || strcasestr(bufReceive, "WWW-Authenticate:Digest"))
816:info:build                                                                               ^~~~~~~~~~
817:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/string.h:160:30: note: passing argument to parameter '__big' here
818:info:build char    *strcasestr(const char *__big, const char *__little);
819:info:build                                 ^
820:info:build http.c:417:23: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
821:info:build   else if (strcasestr(bufReceive, "WWW-Authenticate:"))
822:info:build                       ^~~~~~~~~~
823:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/string.h:160:30: note: passing argument to parameter '__big' here
824:info:build char    *strcasestr(const char *__big, const char *__little);
825:info:build                                 ^
826:info:build http.c:445:13: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
827:info:build     sprintf(szLoginDomain, "%s\\%s", _psSessionData->szDomain, szLogin);
828:info:build             ^~~~~~~~~~~~~
829:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf'
830:info:build   __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
831:info:build                            ^~~
832:info:build http.c:448:19: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
833:info:build     szLoginDomain = szLogin;
834:info:build                   ^ ~~~~~~~
835:info:build http.c:450:3: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
836:info:build   writeError(ERR_DEBUG_MODULE, "[%s] Base64 encoding: %s:%s", MODULE_NAME, szLoginDomain, szPassword);
837:info:build   ^
838:info:build http.c:451:47: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
839:info:build   szEncodedAuth = basic_authentication_encode(szLoginDomain, szPassword);
840:info:build                                               ^~~~~~~~~~~~~
841:info:build ./../medusa-utils.h:31:54: note: passing argument to parameter 'user' here
842:info:build extern char *basic_authentication_encode(const char *user, const char *passwd);
843:info:build                                                      ^
844:info:build http.c:451:17: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
845:info:build   szEncodedAuth = basic_authentication_encode(szLoginDomain, szPassword);
846:info:build                 ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
847:info:build http.c:458:76: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
848:info:build                     14 + strlen(_psSessionData->szUserAgent) + 23 + strlen(szEncodedAuth) + 4;
849:info:build                                                                            ^~~~~~~~~~~~~
850:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here
851:info:build size_t   strlen(const char *__s);
852:info:build                             ^
853:info:build http.c:463:11: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
854:info:build   sprintf(bufSend, "GET /%s HTTP/1.1\r\nHost: %s\r\nUser-Agent: %s\r\nAuthorization: Basic %s\r\n\r\n",
855:info:build           ^~~~~~~
856:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf'
857:info:build   __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
858:info:build                            ^~~
859:info:build http.c:466:27: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
860:info:build   if (medusaSend(hSocket, bufSend, nSendBufferSize, 0) < 0)
861:info:build                           ^~~~~~~
862:info:build ../../src/medusa-net.h:86:41: note: passing argument to parameter 'buf' here
863:info:build extern int medusaSend(int socket, char *buf, int size, int options);
864:info:build                                         ^
865:info:build http.c:496:56: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
866:info:build   base64_encode((char *)&sTmpReq, SmbLength(&sTmpReq), szTmpBuf64);
867:info:build                                                        ^~~~~~~~~~
868:info:build ./../medusa-utils.h:29:61: note: passing argument to parameter 'b64store' here
869:info:build extern int base64_encode(const char *str, int length, char *b64store);
870:info:build                                                             ^
871:info:build http.c:497:3: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
872:info:build   writeError(ERR_DEBUG_MODULE, "[%s] Sending initial challenge (B64 Encoded): %s", MODULE_NAME, szTmpBuf64);
873:info:build   ^
874:info:build http.c:500:76: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
875:info:build                     14 + strlen(_psSessionData->szUserAgent) + 22 + strlen(szTmpBuf64) + 28;
876:info:build                                                                            ^~~~~~~~~~
877:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here
878:info:build size_t   strlen(const char *__s);
879:info:build                             ^
880:info:build http.c:505:11: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
881:info:build   sprintf(bufSend, "GET /%s HTTP/1.1\r\nHost: %s\r\nUser-Agent: %s\r\nAuthorization: NTLM %s\r\nConnection: keep-alive\r\n\r\n",
882:info:build           ^~~~~~~
883:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf'
884:info:build   __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
885:info:build                            ^~~
886:info:build http.c:508:27: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
887:info:build   if (medusaSend(hSocket, bufSend, nSendBufferSize, 0) < 0)
888:info:build                           ^~~~~~~
889:info:build ../../src/medusa-net.h:86:41: note: passing argument to parameter 'buf' here
890:info:build extern int medusaSend(int socket, char *buf, int size, int options);
891:info:build                                         ^
892:info:build http.c:532:35: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
893:info:build   szTmpBuf64 = (char *)strcasestr(bufReceive, "WWW-Authenticate: NTLM ");
894:info:build                                   ^~~~~~~~~~
895:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/string.h:160:30: note: passing argument to parameter '__big' here
896:info:build char    *strcasestr(const char *__big, const char *__little);
897:info:build                                 ^
898:info:build http.c:532:14: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
899:info:build   szTmpBuf64 = (char *)strcasestr(bufReceive, "WWW-Authenticate: NTLM ");
900:info:build              ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
901:info:build http.c:539:28: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
902:info:build   szTmpBuf = ((char*)index(szTmpBuf64, '\r'));
903:info:build                            ^~~~~~~~~~
904:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/strings.h:73:25: note: passing argument to parameter here
905:info:build char    *index(const char *, int) __POSIX_C_DEPRECATED(200112L);
906:info:build                            ^
907:info:build http.c:539:12: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
908:info:build   szTmpBuf = ((char*)index(szTmpBuf64, '\r'));
909:info:build            ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
910:info:build http.c:543:17: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
911:info:build   base64_decode(szTmpBuf64 + 23, (char *)&sTmpChall);
912:info:build                 ^~~~~~~~~~~~~~~
913:info:build ./../medusa-utils.h:30:38: note: passing argument to parameter 'base64' here
914:info:build extern int base64_decode(const char *base64, char *to);
915:info:build                                      ^
916:info:build http.c:554:58: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
917:info:build   base64_encode((char *)&sTmpResp, SmbLength(&sTmpResp), szTmpBuf64);
918:info:build                                                          ^~~~~~~~~~
919:info:build ./../medusa-utils.h:29:61: note: passing argument to parameter 'b64store' here
920:info:build extern int base64_encode(const char *str, int length, char *b64store);
921:info:build                                                             ^
922:info:build http.c:558:76: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
923:info:build                     14 + strlen(_psSessionData->szUserAgent) + 22 + strlen(szTmpBuf64) + 23;
924:info:build                                                                            ^~~~~~~~~~
925:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here
926:info:build size_t   strlen(const char *__s);
927:info:build                             ^
928:info:build http.c:563:11: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
929:info:build   sprintf(bufSend, "GET /%s HTTP/1.1\r\nHost: %s\r\nUser-Agent: %s\r\nAuthorization: NTLM %s\r\nConnection: close\r\n\r\n",
930:info:build           ^~~~~~~
931:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf'
932:info:build   __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
933:info:build                            ^~~
934:info:build http.c:566:27: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
935:info:build   if (medusaSend(hSocket, bufSend, nSendBufferSize, 0) < 0)
936:info:build                           ^~~~~~~
937:info:build ../../src/medusa-net.h:86:41: note: passing argument to parameter 'buf' here
938:info:build extern int medusaSend(int socket, char *buf, int size, int options);
939:info:build                                         ^
940:info:build http.c:620:3: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
941:info:build   writeError(ERR_DEBUG_MODULE, "[%s] Sending initial request for digest authentication.", MODULE_NAME);
942:info:build   ^
943:info:build http.c:628:11: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
944:info:build   sprintf(bufSend, "GET /%s HTTP/1.1\r\nHost: %s\r\nUser-Agent: %s\r\nConnection: keep-alive\r\n\r\n",
945:info:build           ^~~~~~~
946:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf'
947:info:build   __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
948:info:build                            ^~~
949:info:build http.c:631:27: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
950:info:build   if (medusaSend(hSocket, bufSend, nSendBufferSize, 0) < 0)
951:info:build                           ^~~~~~~
952:info:build ../../src/medusa-net.h:86:41: note: passing argument to parameter 'buf' here
953:info:build extern int medusaSend(int socket, char *buf, int size, int options);
954:info:build                                         ^
955:info:build http.c:640:14: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
956:info:build   bufReceive = medusaReceiveLine(hSocket, &nReceiveBufferSize);
957:info:build              ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
958:info:build http.c:655:35: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
959:info:build   if ( szTmp = (char *)strcasestr(bufReceive, "WWW-Authenticate: Digest ") )
960:info:build                                   ^~~~~~~~~~
961:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/string.h:160:30: note: passing argument to parameter '__big' here
962:info:build char    *strcasestr(const char *__big, const char *__little);
963:info:build                                 ^
964:info:build http.c:655:14: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
965:info:build   if ( szTmp = (char *)strcasestr(bufReceive, "WWW-Authenticate: Digest ") )
966:info:build              ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
967:info:build http.c:655:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
968:info:build   if ( szTmp = (char *)strcasestr(bufReceive, "WWW-Authenticate: Digest ") )
969:info:build        ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
970:info:build http.c:655:14: note: place parentheses around the assignment to silence this warning
971:info:build   if ( szTmp = (char *)strcasestr(bufReceive, "WWW-Authenticate: Digest ") )
972:info:build              ^
973:info:build        (                                                                  )
974:info:build http.c:655:14: note: use '==' to turn this assignment into an equality comparison
975:info:build   if ( szTmp = (char *)strcasestr(bufReceive, "WWW-Authenticate: Digest ") )
976:info:build              ^
977:info:build              ==
978:info:build http.c:659:40: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
979:info:build   else if ( szTmp = (char *)strcasestr(bufReceive, "WWW-Authenticate:Digest ") )
980:info:build                                        ^~~~~~~~~~
981:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/string.h:160:30: note: passing argument to parameter '__big' here
982:info:build char    *strcasestr(const char *__big, const char *__little);
983:info:build                                 ^
984:info:build http.c:659:19: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
985:info:build   else if ( szTmp = (char *)strcasestr(bufReceive, "WWW-Authenticate:Digest ") )
986:info:build                   ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
987:info:build http.c:659:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
988:info:build   else if ( szTmp = (char *)strcasestr(bufReceive, "WWW-Authenticate:Digest ") )
989:info:build             ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
990:info:build http.c:659:19: note: place parentheses around the assignment to silence this warning
991:info:build   else if ( szTmp = (char *)strcasestr(bufReceive, "WWW-Authenticate:Digest ") )
992:info:build                   ^
993:info:build             (                                                                 )
994:info:build http.c:659:19: note: use '==' to turn this assignment into an equality comparison
995:info:build   else if ( szTmp = (char *)strcasestr(bufReceive, "WWW-Authenticate:Digest ") )
996:info:build                   ^
997:info:build                   ==
998:info:build http.c:668:26: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
999:info:build   szTmp1 = ((char*)index(szTmp, '\r'));
1000:info:build                          ^~~~~
1001:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/strings.h:73:25: note: passing argument to parameter here
1002:info:build char    *index(const char *, int) __POSIX_C_DEPRECATED(200112L);
1003:info:build                            ^
1004:info:build http.c:668:10: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1005:info:build   szTmp1 = ((char*)index(szTmp, '\r'));
1006:info:build          ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
1007:info:build http.c:672:11: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1008:info:build   strncpy(szAuthenticate, szTmp, szTmp1 - szTmp);
1009:info:build           ^~~~~~~~~~~~~~
1010:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/secure/_string.h:124:28: note: expanded from macro 'strncpy'
1011:info:build                 __builtin___strncpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest))
1012:info:build                                          ^~~~
1013:info:build http.c:672:27: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1014:info:build   strncpy(szAuthenticate, szTmp, szTmp1 - szTmp);
1015:info:build                           ^~~~~
1016:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/secure/_string.h:124:34: note: expanded from macro 'strncpy'
1017:info:build                 __builtin___strncpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest))
1018:info:build                                                ^~~~~~~~~~~
1019:info:build http.c:680:19: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1020:info:build   if ( strcasestr(szAuthenticate, "algorithm=MD5-sess") || strcasestr(szAuthenticate, "algorithm=\"MD5-sess\"") )
1021:info:build                   ^~~~~~~~~~~~~~
1022:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/string.h:160:30: note: passing argument to parameter '__big' here
1023:info:build char    *strcasestr(const char *__big, const char *__little);
1024:info:build                                 ^
1025:info:build http.c:680:71: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1026:info:build   if ( strcasestr(szAuthenticate, "algorithm=MD5-sess") || strcasestr(szAuthenticate, "algorithm=\"MD5-sess\"") )
1027:info:build                                                                       ^~~~~~~~~~~~~~
1028:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/string.h:160:30: note: passing argument to parameter '__big' here
1029:info:build char    *strcasestr(const char *__big, const char *__little);
1030:info:build                                 ^
1031:info:build http.c:687:24: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1032:info:build   else if ( strcasestr(szAuthenticate, "algorithm=MD5") || strcasestr(szAuthenticate, "algorithm=\"MD5\""))
1033:info:build                        ^~~~~~~~~~~~~~
1034:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/string.h:160:30: note: passing argument to parameter '__big' here
1035:info:build char    *strcasestr(const char *__big, const char *__little);
1036:info:build                                 ^
1037:info:build http.c:687:71: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1038:info:build   else if ( strcasestr(szAuthenticate, "algorithm=MD5") || strcasestr(szAuthenticate, "algorithm=\"MD5\""))
1039:info:build                                                                       ^~~~~~~~~~~~~~
1040:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/string.h:160:30: note: passing argument to parameter '__big' here
1041:info:build char    *strcasestr(const char *__big, const char *__little);
1042:info:build                                 ^
1043:info:build http.c:694:24: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1044:info:build   else if ( strcasestr(szAuthenticate, "algorithm=") )
1045:info:build                        ^~~~~~~~~~~~~~
1046:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/string.h:160:30: note: passing argument to parameter '__big' here
1047:info:build char    *strcasestr(const char *__big, const char *__little);
1048:info:build                                 ^
1049:info:build http.c:708:30: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1050:info:build   szTmp = (char *)strcasestr(szAuthenticate, "realm=\"");
1051:info:build                              ^~~~~~~~~~~~~~
1052:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/string.h:160:30: note: passing argument to parameter '__big' here
1053:info:build char    *strcasestr(const char *__big, const char *__little);
1054:info:build                                 ^
1055:info:build http.c:708:9: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1056:info:build   szTmp = (char *)strcasestr(szAuthenticate, "realm=\"");
1057:info:build         ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1058:info:build http.c:712:28: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1059:info:build     szTmp1 = ((char*)index(szTmp, '"'));
1060:info:build                            ^~~~~
1061:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/strings.h:73:25: note: passing argument to parameter here
1062:info:build char    *index(const char *, int) __POSIX_C_DEPRECATED(200112L);
1063:info:build                            ^
1064:info:build http.c:712:12: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1065:info:build     szTmp1 = ((char*)index(szTmp, '"'));
1066:info:build            ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~
1067:info:build http.c:716:22: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1068:info:build     strncpy(szRealm, szTmp, szTmp1 - szTmp);
1069:info:build                      ^~~~~
1070:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/secure/_string.h:124:34: note: expanded from macro 'strncpy'
1071:info:build                 __builtin___strncpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest))
1072:info:build                                                ^~~~~~~~~~~
1073:info:build http.c:727:30: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1074:info:build   szTmp = (char *)strcasestr(szAuthenticate, "nonce=\"");
1075:info:build                              ^~~~~~~~~~~~~~
1076:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/string.h:160:30: note: passing argument to parameter '__big' here
1077:info:build char    *strcasestr(const char *__big, const char *__little);
1078:info:build                                 ^
1079:info:build http.c:727:9: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1080:info:build   szTmp = (char *)strcasestr(szAuthenticate, "nonce=\"");
1081:info:build         ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1082:info:build http.c:731:28: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1083:info:build     szTmp1 = ((char*)index(szTmp, '"'));
1084:info:build                            ^~~~~
1085:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/strings.h:73:25: note: passing argument to parameter here
1086:info:build char    *index(const char *, int) __POSIX_C_DEPRECATED(200112L);
1087:info:build                            ^
1088:info:build http.c:731:12: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1089:info:build     szTmp1 = ((char*)index(szTmp, '"'));
1090:info:build            ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~
1091:info:build http.c:735:22: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1092:info:build     strncpy(szNonce, szTmp, szTmp1 - szTmp);
1093:info:build                      ^~~~~
1094:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/secure/_string.h:124:34: note: expanded from macro 'strncpy'
1095:info:build                 __builtin___strncpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest))
1096:info:build                                                ^~~~~~~~~~~
1097:info:build http.c:746:30: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1098:info:build   szTmp = (char *)strcasestr(szAuthenticate, "qop=\"");
1099:info:build                              ^~~~~~~~~~~~~~
1100:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/string.h:160:30: note: passing argument to parameter '__big' here
1101:info:build char    *strcasestr(const char *__big, const char *__little);
1102:info:build                                 ^
1103:info:build http.c:746:9: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1104:info:build   szTmp = (char *)strcasestr(szAuthenticate, "qop=\"");
1105:info:build         ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1106:info:build http.c:750:28: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1107:info:build     szTmp1 = ((char*)index(szTmp, '"'));
1108:info:build                            ^~~~~
1109:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/strings.h:73:25: note: passing argument to parameter here
1110:info:build char    *index(const char *, int) __POSIX_C_DEPRECATED(200112L);
1111:info:build                            ^
1112:info:build http.c:750:12: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1113:info:build     szTmp1 = ((char*)index(szTmp, '"'));
1114:info:build            ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~
1115:info:build http.c:754:20: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1116:info:build     strncpy(szQop, szTmp, szTmp1 - szTmp);
1117:info:build                    ^~~~~
1118:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/secure/_string.h:124:34: note: expanded from macro 'strncpy'
1119:info:build                 __builtin___strncpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest))
1120:info:build                                                ^~~~~~~~~~~
1121:info:build http.c:764:30: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1122:info:build   szTmp = (char *)strcasestr(szAuthenticate, "opaque=\"");
1123:info:build                              ^~~~~~~~~~~~~~
1124:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/string.h:160:30: note: passing argument to parameter '__big' here
1125:info:build char    *strcasestr(const char *__big, const char *__little);
1126:info:build                                 ^
1127:info:build http.c:764:9: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1128:info:build   szTmp = (char *)strcasestr(szAuthenticate, "opaque=\"");
1129:info:build         ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1130:info:build http.c:768:28: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1131:info:build     szTmp1 = ((char*)index(szTmp, '"'));
1132:info:build                            ^~~~~
1133:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/strings.h:73:25: note: passing argument to parameter here
1134:info:build char    *index(const char *, int) __POSIX_C_DEPRECATED(200112L);
1135:info:build                            ^
1136:info:build http.c:768:12: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1137:info:build     szTmp1 = ((char*)index(szTmp, '"'));
1138:info:build            ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~
1139:info:build http.c:772:23: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1140:info:build     strncpy(szOpaque, szTmp, szTmp1 - szTmp);
1141:info:build                       ^~~~~
1142:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/secure/_string.h:124:34: note: expanded from macro 'strncpy'
1143:info:build                 __builtin___strncpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest))
1144:info:build                                                ^~~~~~~~~~~
1145:info:build http.c:832:13: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1146:info:build     sprintf(szAuthorization, "Digest username=\"%s\", realm=\"%s\", nonce=\"%s\", uri=\"%s\", algorithm=%s, response=\"%s\", qop=%s, nc=00000001, cnonce=\"%s\", opaque=\"%s\"",
1147:info:build             ^~~~~~~~~~~~~~~
1148:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf'
1149:info:build   __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
1150:info:build                            ^~~
1151:info:build http.c:835:13: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1152:info:build     sprintf(szAuthorization, "Digest username=\"%s\", realm=\"%s\", nonce=\"%s\", uri=\"%s\", algorithm=%s, response=\"%s\", qop=%s, nc=00000001, cnonce=\"%s\"",
1153:info:build             ^~~~~~~~~~~~~~~
1154:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf'
1155:info:build   __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
1156:info:build                            ^~~
1157:info:build http.c:838:13: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1158:info:build     sprintf(szAuthorization, "Digest username=\"%s\", realm=\"%s\", nonce=\"%s\", uri=\"%s\", algorithm=%s, response=\"%s\", opaque=\"%s\"",
1159:info:build             ^~~~~~~~~~~~~~~
1160:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf'
1161:info:build   __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
1162:info:build                            ^~~
1163:info:build http.c:841:13: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1164:info:build     sprintf(szAuthorization, "Digest username=\"%s\", realm=\"%s\", nonce=\"%s\", uri=\"%s\", algorithm=%s, response=\"%s\"",
1165:info:build             ^~~~~~~~~~~~~~~
1166:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf'
1167:info:build   __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
1168:info:build                            ^~~
1169:info:build http.c:852:76: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1170:info:build                     14 + strlen(_psSessionData->szUserAgent) + 17 + strlen(szAuthorization) + 28;
1171:info:build                                                                            ^~~~~~~~~~~~~~~
1172:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here
1173:info:build size_t   strlen(const char *__s);
1174:info:build                             ^
1175:info:build http.c:857:11: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1176:info:build   sprintf(bufSend, "GET /%s HTTP/1.1\r\nHost: %s\r\nUser-Agent: %s\r\nAuthorization: %s\r\nConnection: keep-alive\r\n\r\n",
1177:info:build           ^~~~~~~
1178:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf'
1179:info:build   __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
1180:info:build                            ^~~
1181:info:build http.c:860:27: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1182:info:build   if (medusaSend(hSocket, bufSend, nSendBufferSize, 0) < 0)
1183:info:build                           ^~~~~~~
1184:info:build ../../src/medusa-net.h:86:41: note: passing argument to parameter 'buf' here
1185:info:build extern int medusaSend(int socket, char *buf, int size, int options);
1186:info:build                                         ^
1187:info:build http.c:868:1: warning: control may reach end of non-void function [-Wreturn-type]
1188:info:build }
1189:info:build ^
1190:info:build http.c:880:7: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
1191:info:build       writeError(ERR_DEBUG_MODULE, "[%s] No authentication required.", MODULE_NAME);
1192:info:build       ^
1193:info:build http.c:882:7: warning: implicit declaration of function 'setPassResult' is invalid in C99 [-Wimplicit-function-declaration]
1194:info:build       setPassResult(*login, szPassword);
1195:info:build       ^
1196:info:build http.c:903:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
1197:info:build     writeError(ERR_ERROR, "[%s] Failed during sending of authentication data.", MODULE_NAME);
1198:info:build     ^
1199:info:build http.c:905:5: warning: implicit declaration of function 'setPassResult' is invalid in C99 [-Wimplicit-function-declaration]
1200:info:build     setPassResult(*login, szPassword);
1201:info:build     ^
1202:info:build http.c:909:3: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
1203:info:build   writeError(ERR_DEBUG_MODULE, "[%s] Retrieving server response.", MODULE_NAME);
1204:info:build   ^
1205:info:build http.c:917:18: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1206:info:build   pTemp = strstr(pReceiveBuffer, "HTTP/1.");
1207:info:build                  ^~~~~~~~~~~~~~
1208:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/string.h:89:26: note: passing argument to parameter '__big' here
1209:info:build char    *strstr(const char *__big, const char *__little);
1210:info:build                             ^
1211:info:build http.c:965:3: warning: implicit declaration of function 'setPassResult' is invalid in C99 [-Wimplicit-function-declaration]
1212:info:build   setPassResult(*login, szPassword);
1213:info:build   ^
1214:info:build ftp.c:92:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
1215:info:build     writeError(ERR_ERROR, "%s reports an error in summaryUsage() : ppszSummary must be NULL when called", MODULE_NAME);
1216:info:build     ^
1217:info:build ftp.c:99:3: warning: implicit declaration of function 'writeVerbose' is invalid in C99 [-Wimplicit-function-declaration]
1218:info:build   writeVerbose(VB_NONE, "%s (%s) %s :: %s\n", MODULE_NAME, MODULE_VERSION, MODULE_AUTHOR, MODULE_SUMMARY_USAGE);
1219:info:build   ^
1220:info:build ftp.c:143:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
1221:info:build     writeError(ERR_ERROR, "%s is expecting 0 parameters, but it was passed %d", MODULE_NAME, argc);
1222:info:build     ^
1223:info:build ftp.c:147:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
1224:info:build     writeError(ERR_DEBUG_MODULE, "OMG teh %s module has been called!!", MODULE_NAME);
1225:info:build     ^
1226:info:build ftp.c:140:20: warning: result of comparison of constant 3 with boolean expression is always true [-Wtautological-constant-out-of-range-compare]
1227:info:build   if ( !(0 <= argc <= 3) )
1228:info:build          ~~~~~~~~~ ^  ~
1229:info:build ftp.c:198:7: warning: implicit declaration of function 'getNextCredSet' is invalid in C99 [-Wimplicit-function-declaration]
1230:info:build   if (getNextCredSet(psLogin, psCredSet) == FAILURE)
1231:info:build       ^
1232:info:build ftp.c:200:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
1233:info:build     writeError(ERR_ERROR, "[%s] Error retrieving next credential set to test.", MODULE_NAME);
1234:info:build     ^
1235:info:build ftp.c:205:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
1236:info:build     writeError(ERR_DEBUG_MODULE, "[%s] module started for host: %s user: %s", MODULE_NAME, psLogin->psServer->pHostIP, psCredSet->psUser->pUser);
1237:info:build     ^
1238:info:build ftp.c:209:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
1239:info:build     writeError(ERR_DEBUG_MODULE, "[%s] module started for host: %s - no more available users to test.", MODULE_NAME);
1240:info:build     ^
1241:info:build ftp.c:249:11: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
1242:info:build           writeError(ERR_NOTICE, "%s: failed to connect, port %d was not open on %s", MODULE_NAME, _psSessionData->params->nPort, psLogin->psServer->pHostIP);
1243:info:build           ^
1244:info:build ftp.c:265:9: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
1245:info:build         writeError(ERR_DEBUG_MODULE, "[%s] Retrieving FTP banner.", MODULE_NAME);
1246:info:build         ^
1247:info:build ftp.c:277:21: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1248:info:build         if (strncmp(bufReceive, "220", 3) == 0)
1249:info:build                     ^~~~~~~~~~
1250:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/string.h:84:26: note: passing argument to parameter '__s1' here
1251:info:build int      strncmp(const char *__s1, const char *__s2, size_t __n);
1252:info:build                              ^
1253:info:build ftp.c:282:26: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1254:info:build         else if (strncmp(bufReceive, "421", 3) == 0)
1255:info:build                          ^~~~~~~~~~
1256:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/string.h:84:26: note: passing argument to parameter '__s1' here
1257:info:build int      strncmp(const char *__s1, const char *__s2, size_t __n);
1258:info:build                              ^
1259:info:build ftp.c:312:14: warning: implicit declaration of function 'medusaCheckSocket' is invalid in C99 [-Wimplicit-function-declaration]
1260:info:build         if ( medusaCheckSocket(hSocket, psLogin->psServer->psAudit->iSocketWait) )
1261:info:build              ^
1262:info:build imap.c:102:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
1263:info:build     writeError(ERR_ERROR, "%s reports an error in summaryUsage() : ppszSummary must be NULL when called", MODULE_NAME);
1264:info:build     ^
1265:info:build ftp.c:379:3: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
1266:info:build   writeError(ERR_NOTICE, "[%s] Establishing Explicit FTPS (FTP/SSL) session.", MODULE_NAME);
1267:info:build   ^
1268:info:build ftp.c:382:11: warning: passing 'unsigned char [300]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1269:info:build   sprintf(bufSend, "AUTH TLS\r\n");
1270:info:build           ^~~~~~~
1271:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf'
1272:info:build   __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
1273:info:build                            ^~~
1274:info:build ftp.c:383:43: warning: passing 'unsigned char [300]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1275:info:build   if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0)
1276:info:build                                           ^~~~~~~
1277:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here
1278:info:build size_t   strlen(const char *__s);
1279:info:build                             ^
1280:info:build ftp.c:383:27: warning: passing 'unsigned char [300]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1281:info:build   if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0)
1282:info:build                           ^~~~~~~
1283:info:build ../../src/medusa-net.h:86:41: note: passing argument to parameter 'buf' here
1284:info:build extern int medusaSend(int socket, char *buf, int size, int options);
1285:info:build                                         ^
1286:info:build ftp.c:398:15: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1287:info:build imap.c:109:3: warning: implicit declaration of function 'writeVerbose' is invalid in C99 [-Wimplicit-function-declaration]
1288:info:build   if (strncmp(bufReceive, "234 ", 4) == 0)
1289:info:build               ^~~~~~~~~~
1290:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/string.h:84:26: note: passing argument to parameter '__s1' here
1291:info:build int      strncmp(const char *__s1, const char *__s2, size_t __n);
1292:info:build                              ^
1293:info:build   writeVerbose(VB_NONE, "%s (%s) %s :: %s\n", MODULE_NAME, MODULE_VERSION, MODULE_AUTHOR, MODULE_SUMMARY_USAGE);
1294:info:build   ^
1295:info:build imap.c:146:5cvs.c:84: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
1296:info:build     writeError(ERR_ERROR, "%s: Incorrect number of parameters passed to module.", MODULE_NAME);
1297:info:build     ^
1298:info:build imap.c:152:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
1299:info:build     writeError(ERR_DEBUG_MODULE, "OMG teh %s module has been called!!", MODULE_NAME);
1300:info:build     ^
1301:info:build ftp.c:426:11: warning: passing 'unsigned char [300]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1302:info:build   sprintf(bufSend, "USER %.250s\r\n", szLogin);
1303:info:build           ^~~~~~~
1304:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf'
1305:info:build   __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
1306:info:build                            ^~~
1307:info:build ftp.c:428:43: warning: passing 'unsigned char [300]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1308:info:build   if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0)
1309:info:build                                           ^~~~~~~
1310:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here
1311:info:build size_t   strlen(const char *__s);
1312:info:build                             ^
1313:info:build ftp.c:428:27: warning: passing 'unsigned char [300]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1314:info:build   if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0)
1315:info:build                           ^~~~~~~
1316:info:build ../../src/medusa-net.h:86:41: note: passing argument to parameter 'buf' here
1317:info:build extern int medusaSend(int socket, char *buf, int size, int options);
1318:info:build                                         ^
1319:info:build ftp.c:430:5: warning:: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
1320:info:build 5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
1321:info:build     writeError(ERR_ERROR, "%s failed: medusaSend was not successful", MODULE_NAME);
1322:info:build     ^
1323:info:build     writeError(ERR_ERROR, "%s reports an error in summaryUsage() : ppszSummary must be NULL when called", MODULE_NAME);
1324:info:build     ^
1325:info:build ftp.c:436:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
1326:info:build     writeError(ERR_ERROR, "[%s] failed: Server sent unknown or no response. Server may have dropped connection due to lack of encryption or due to anti-bruteforce measures. Enabling EXPLICIT mode may help with the former cause and increasing the socket check delay (e.g. -c 1000) may help with the later.", MODULE_NAME);
1327:info:build     ^
1328:info:build ftp.c:441:16: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1329:info:build   if ( (strstr(bufReceive, "530 Non-anonymous sessions must use encryption.") != NULL) ||
1330:info:build                ^~~~~~~~~~
1331:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/string.h:89:26: note: passing argument to parameter '__big' here
1332:info:build imap.c:143:20: warning: result of comparison of constant 2 with boolean expression is always true [-Wtautological-constant-out-of-range-compare]
1333:info:build char    *strstr(const char *__big, const char *__little);
1334:info:build                             ^
1335:info:build   if ( !(0 <= argc <= 2) )
1336:info:build          ~~~~~~~~~ ^  ~
1337:info:build ftp.c:442:16: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1338:info:build        (strstr(bufReceive, "331 Non-anonymous sessions must use encryption.") != NULL) ||
1339:info:build                ^~~~~~~~~~
1340:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/string.h:89:26: note: passing argument to parameter '__big' here
1341:info:build char    *strstr(const char *__big, const char *__little);
1342:info:build                             ^
1343:info:build ftp.c:443:16: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1344:info:build        (strstr(bufReceive, "331 Rejected--secure connection required") != NULL) )
1345:info:build                ^~~~~~~~~~
1346:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/string.h:89:26: note: passing argument to parameter '__big' here
1347:info:build char    *strstr(const char *__big, const char *__little);
1348:info:build                             ^
1349:info:build ftp.c:445:5: warning: cvs.c:92:3: warning: implicit declaration of function 'writeVerbose' is invalid in C99 [-Wimplicit-function-declaration]
1350:info:build   writeVerbose(VB_NONE, "%s (%s) %s :: %s\n", MODULE_NAME, MODULE_VERSION, MODULE_AUTHOR, MODULE_SUMMARY_USAGE);
1351:info:build   ^
1352:info:build implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
1353:info:build     writeError(ERR_NOTICE, "[%s] FTP server (%s) appears to require SSL for specified user.", MODULE_NAME, (*psLogin)->psServer->pHostIP);
1354:info:build     ^
1355:info:build ftp.c:449:10: warning: implicit declaration of function 'medusaCheckSocket' is invalid in C99 [-Wimplicit-function-declaration]
1356:info:build     if ( medusaCheckSocket(hSocket, (*psLogin)->psServer->psAudit->iSocketWait) )
1357:info:build          ^
1358:info:build mssql.c:103:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
1359:info:build ftp.c:464:13: warning: passing 'unsigned char [300]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1360:info:build     sprintf(bufSend, "USER %.250s\r\n", szLogin);
1361:info:build             ^~~~~~~
1362:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf'
1363:info:build     writeError(ERR_ERROR, "%s reports an error in summaryUsage() : ppszSummary must be NULL when called", MODULE_NAME);
1364:info:build     ^
1365:info:build   __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
1366:info:build                            ^~~
1367:info:build cvs.c:114:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
1368:info:build ftp.c:466:45: warning: passing 'unsigned char [300]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1369:info:build     writeError(ERR_ERROR, "%s is expecting 0 parameters, but it was passed %d", MODULE_NAME, argc);
1370:info:build     ^
1371:info:build     if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0)
1372:info:build                                             ^~~~~~~
1373:info:build cvs.c/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/string.h:82:118:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
1374:info:build     writeError(ERR_DEBUG_MODULE, "OMG teh %s module has been called!!", MODULE_NAME);
1375:info:build     ^
1376:info:build :28: note: passing argument to parameter '__s' here
1377:info:build size_t   strlen(const char *__s);
1378:info:build                             ^
1379:info:build ftp.c:466:29: warning: passing 'unsigned char [300]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1380:info:build     if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0)
1381:info:build                             ^~~~~~~
1382:info:build ../../src/medusa-net.h:86:41: note: passing argument to parameter 'buf' here
1383:info:build extern int medusaSend(int socket, char *buf, int size, int options);
1384:info:build                                         ^
1385:info:build imap.c:232:7: warning: implicit declaration of function 'getNextCredSet' is invalid in C99 [-Wimplicit-function-declaration]
1386:info:build   if (getNextCredSet(psLogin, psCredSet) == FAILURE)
1387:info:build       ^
1388:info:build mssql.c:110:3: warning: implicit declaration of function 'writeVerbose' is invalid in C99 [-Wimplicit-function-declaration]
1389:info:build imap.c:234:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
1390:info:build ftp.c:481:15: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1391:info:build   writeVerbose(VB_NONE, "%s (%s) %s :: %s\n", MODULE_NAME, MODULE_VERSION, MODULE_AUTHOR, MODULE_SUMMARY_USAGE);
1392:info:build   ^
1393:info:build     writeError(ERR_ERROR, "[%s] Error retrieving next credential set to test.", MODULE_NAME);
1394:info:build     ^
1395:info:build   if (strncmp(bufReceive, "530 ", 4) == 0)
1396:info:build               ^~~~~~~~~~
1397:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/string.h:84:26: note: passing argument to parameter '__s1' here
1398:info:build cvs.c:111:20: warning: result of comparison of constant 3 with boolean expression is always true [-Wtautological-constant-out-of-range-compare]
1399:info:build int      strncmp(const char *__s1, const char *__s2, size_t __n);
1400:info:build                              ^
1401:info:build imap.c:239:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
1402:info:build ftp.c:483:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
1403:info:build     writeError(ERR_ERROR, "[%s] Server sent 530 response (rejected username).", MODULE_NAME);
1404:info:build     ^
1405:info:build     writeError(ERR_DEBUG_MODULE, "[%s] module started for host: %s user: %s", MODULE_NAME, psLogin->psServer->pHostIP, psCredSet->psUser->pUser);
1406:info:build     ^
1407:info:build imap.c:243:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
1408:info:build ftp.c:488:20: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1409:info:build     writeError(ERR_DEBUG_MODULE, "[%s] module started for host: %s - no more available users to test.", MODULE_NAME);
1410:info:build     ^
1411:info:build   else if (strncmp(bufReceive, "421 ", 4) == 0)
1412:info:build                    ^~~~~~~~~~
1413:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/string.h:84:26: note: passing argument to parameter '__s1' here
1414:info:build int      strncmp(const char *__s1, const char *__s2, size_t __n);
1415:info:build                              ^
1416:info:build ftp.c:490:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
1417:info:build     writeError(ERR_ERROR, "[%s] Server sent 421 response (too many connections).", MODULE_NAME);
1418:info:build     ^
1419:info:build mssql.c:129:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
1420:info:build ftp.c:495:20: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1421:info:build   else if (strncmp(bufReceive, "331 ", 4) != 0)
1422:info:build                    ^~~~~~~~~~
1423:info:build     writeError(ERR_ERROR, "%s is expecting 0 parameters, but it was passed %d", MODULE_NAME, argc);
1424:info:build     ^/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/string.h
1425:info:build :84:26: note: passing argument to parameter '__s1' here
1426:info:build mssql.c:133:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
1427:info:build int      strncmp(const char *__s1, const char *__s2, size_t __n);
1428:info:build                              ^
1429:info:build imap.c:282:ftp.c11::497 :warning5: :implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
1430:info:build warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
1431:info:build     writeError(ERR_DEBUG_MODULE, "OMG teh %s module has been called!!", MODULE_NAME);
1432:info:build     ^
1433:info:build     writeError(ERR_ERROR, "[%s] failed: Server did not respond with a '331'.", MODULE_NAME);
1434:info:build     ^
1435:info:build           writeError(ERR_NOTICE, "%s: failed to connect, port %d was not open on %s", MODULE_NAME, params.nPort, psLogin->psServer->pHostIP);
1436:info:build           ^
1437:info:build imap.c:293:9: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
1438:info:build mssql.c:126:20: warning: result of comparison of constant 3 with boolean expression is always true [-Wtautological-constant-out-of-range-compare]
1439:info:build         writeError(ERR_DEBUG_MODULE, "Connected");
1440:info:build         ^
1441:info:build   if ( !(0 <= argc <= 3) )
1442:info:build          ~~~~~~~~~ ^  ~  if ( !(0 <= argc <= 3) )
1443:info:build          ~~~~~~~~~ ^  ~
1444:info:build imap.c:301:14: warning: implicit declaration of function 'medusaCheckSocket' is invalid in C99 [-Wimplicit-function-declaration]
1445:info:build ftp.c:506:11: warning: passing 'unsigned char [300]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1446:info:build         if ( medusaCheckSocket(hSocket, psLogin->psServer->psAudit->iSocketWait) )
1447:info:build              ^
1448:info:build   sprintf(bufSend, "PASS %.250s\r\n", szPassword);
1449:info:build           ^~~~~~~
1450:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf'
1451:info:build   __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
1452:info:build                            ^~~
1453:info:build ftp.c:508:43: warning: passing 'unsigned char [300]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1454:info:build   if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0)
1455:info:build                                           ^~~~~~~
1456:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here
1457:info:build size_t   strlen(const char *__s);
1458:info:build                             ^
1459:info:build ftp.c:508:27: warning: passing 'unsigned char [300]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1460:info:build   if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0)
1461:info:build                           ^~~~~~~
1462:info:build ../../src/medusa-net.h:86:41: note: passing argument to parameter 'buf' here
1463:info:build extern int medusaSend(int socket, char *buf, int size, int options);
1464:info:build                                         ^
1465:info:build ftp.c:510:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
1466:info:build     writeError(ERR_ERROR, "%s failed: medusaSend was not successful", MODULE_NAME);
1467:info:build     ^
1468:info:build ftp.c:516:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
1469:info:build     writeError(ERR_ERROR, "%s failed: medusaReceive returned no data.", MODULE_NAME);
1470:info:build     ^
1471:info:build ftp.c:522:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
1472:info:build     writeError(ERR_DEBUG_MODULE, "%s : Login attempt successful.", MODULE_NAME);
1473:info:build     ^
1474:info:build ftp.c:528:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
1475:info:build     writeError(ERR_DEBUG_MODULE, "%s : Login attempt failed.", MODULE_NAME);
1476:info:build     ^
1477:info:build ftp.c:535:3: warning: implicit declaration of function 'setPassResult' is invalid in C99 [-Wimplicit-function-declaration]
1478:info:build mssql.c:154:7: warning: implicit declaration of function 'getNextCredSet' is invalid in C99 [-Wimplicit-function-declaration]
1479:info:build   setPassResult((*psLogin), szPassword);
1480:info:build   ^
1481:info:build   if (getNextCredSet(psLogin, psCredSet) == FAILURE)
1482:info:build       ^
1483:info:build mssql.c:156:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
1484:info:build     writeError(ERR_ERROR, "[%s] Error retrieving next credential set to test.", MODULE_NAME);
1485:info:build     ^
1486:info:build mssql.c:161:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
1487:info:build     writeError(ERR_DEBUG_MODULE, "[%s] module started for host: %s user: %s", MODULE_NAME, psLogin->psServer->pHostIP, psCredSet->psUser->pUser);
1488:info:build     ^
1489:info:build mssql.c:165:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
1490:info:build     writeError(ERR_DEBUG_MODULE, "[%s] module started for host: %s - no more available users to test.", MODULE_NAME);
1491:info:build     ^
1492:info:build cvs.c:165:7: warning: implicit declaration of function 'getNextCredSet' is invalid in C99 [-Wimplicit-function-declaration]
1493:info:build   if (getNextCredSet(psLogin, psCredSet) == FAILURE)
1494:info:build       ^
1495:info:build cvs.c:167:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
1496:info:build mssql.c:177:11: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
1497:info:build     writeError(ERR_ERROR, "[%s] Error retrieving next credential set to test.", MODULE_NAME);
1498:info:build     ^
1499:info:build           writeError(ERR_ERROR, "[%s] Failed to establish MS-SQL connection.", MODULE_NAME);
1500:info:build           ^
1501:info:build mssql.c:190:13: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
1502:info:build             writeError(ERR_ERROR, "[%s] Error retrieving next credential set to test.", MODULE_NAME);
1503:info:build             ^
1504:info:build mssql.c:197:15: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
1505:info:build               writeError(ERR_DEBUG_MODULE, "[%s] No more available credential sets to test.", MODULE_NAME);
1506:info:build               ^
1507:info:build mssql.c:202:15: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
1508:info:build               writeError(ERR_DEBUG_MODULE, "[%s] Starting testing for new user: %s.", MODULE_NAME, psCredSet->psUser->pUser);
1509:info:build               ^
1510:info:build mssql.c:206:15: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]cvs.c:172:5:
1511:info:build warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
1512:info:build               writeError(ERR_DEBUG_MODULE, "[%s] Next credential set - user: %s password: %s", MODULE_NAME, psCredSet->psUser->pUser, psCredSet->pPass);
1513:info:build               ^
1514:info:build     writeError(ERR_DEBUG_MODULE, "[%s] module started for host: %s user: %s", MODULE_NAME, psLogin->psServer->pHostIP, psCredSet->psUser->pUser);
1515:info:build     ^
1516:info:build cvs.c:176:5: mssql.cwarning:: 217implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]:
1517:info:build 9: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
1518:info:build         writeError(ERR_CRITICAL, "Unknown %s module state %d", MODULE_NAME, nState);
1519:info:build         ^
1520:info:build     writeError(ERR_DEBUG_MODULE, "[%s] module started for host: %s - no more available users to test.", MODULE_NAME);
1521:info:build     ^
1522:info:build imap.c:371:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
1523:info:build     writeError(ERR_ERROR, "[%s] Failed to retrieve IMAP server banner. Exiting...", MODULE_NAME);
1524:info:build     ^
1525:info:build cvs.c:197:3: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
1526:info:build   writeError(ERR_DEBUG_MODULE, "[%s] Set directory name: %s", MODULE_NAME, _psSessionData->szDir);
1527:info:build   ^
1528:info:build imap.c:374:20: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1529:info:build   else if ((strstr(bufReceive,"* OK ") != NULL))
1530:info:build                    ^~~~~~~~~~
1531:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/string.h:89:26: note: passing argument to parameter '__big' here
1532:info:build char    *strstr(const char *__big, const char *__little);
1533:info:build                             ^
1534:info:build imap.c:376:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
1535:info:build     writeError(ERR_DEBUG_MODULE, "[%s] Received IMAP server banner: %s", MODULE_NAME, bufReceive);
1536:info:build     ^
1537:info:build imap.c:379:20: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1538:info:build   else if ((strstr(bufReceive,"* BYE Connection refused") != NULL))
1539:info:build                    ^~~~~~~~~~
1540:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/string.h:89:26: note: passing argument to parameter '__big' here
1541:info:build char    *strstr(const char *__big, const char *__little);
1542:info:build                             ^
1543:info:build imap.c:381:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
1544:info:build     writeError(ERR_ERROR, "[%s] IMAP server refused connection. Is SSL required?", MODULE_NAME);
1545:info:build     ^
1546:info:build imap.c:387:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
1547:info:build     writeError(ERR_ERROR, "[%s] Failed to retrieve IMAP server banner.", MODULE_NAME);
1548:info:build     ^
1549:info:build imap.c:393:3: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
1550:info:build   writeError(ERR_DEBUG_MODULE, "[%s] Sending IMAP CAPABILITIES request.", MODULE_NAME);
1551:info:build   ^
1552:info:build imap.c:397:11: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1553:info:build   sprintf(bufSend, "%s CAPABILITY\r\n", _psSessionData->szTag);
1554:info:build           ^~~~~~~
1555:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf'
1556:info:build   __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
1557:info:build                            ^~~
1558:info:build imap.c:399:43: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1559:info:build   if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0)
1560:info:build                                           ^~~~~~~
1561:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here
1562:info:build size_t   strlen(const char *__s);
1563:info:build                             ^
1564:info:build imap.c:399:27: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1565:info:build mssql.c:259:3: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
1566:info:build   writeError(ERR_DEBUG_MODULE, "[%s] Querying MS-SQL monitor port to enumerate MS-SQL server TCP port.", MODULE_NAME);
1567:info:build   ^
1568:info:build   if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0)
1569:info:build                           ^~~~~~~
1570:info:build ../../src/medusa-net.h:86:41: note: passing argument to parameter 'buf' here
1571:info:build extern int medusaSend(int socket, char *buf, int size, int options);
1572:info:build                                         ^
1573:info:build mssql.c:300:29: warning: passing 'unsigned char [1]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1574:info:build     if (medusaSend(hSocket, pkt_sqlping, 1, 0) < 0)
1575:info:build                             ^~~~~~~~~~~
1576:info:build ../../src/medusa-net.h:86:41: note: passing argument to parameter 'buf' here
1577:info:build extern int medusaSend(int socket, char *buf, int size, int options);
1578:info:build                                         ^
1579:info:build imap.c:415:41: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1580:info:build   if ((params->nUseSSL == 0) && (strstr(bufReceive, "STARTTLS") != NULL))
1581:info:build                                         ^~~~~~~~~~
1582:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/string.h:89:26: note: passing argument to parameter '__big' here
1583:info:build char    *strstr(const char *__big, const char *__little);
1584:info:build                             ^
1585:info:build mssql.c:324:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
1586:info:build       while (szTmp = strstr(szTmp, "ServerName;"))
1587:info:build              ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1588:info:build imap.c:423:13: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1589:info:build     sprintf(bufSend, "%s STARTTLS\r\n", _psSessionData->szTag);
1590:info:build             ^~~~~~~
1591:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf'
1592:info:build   __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
1593:info:build                            ^~~
1594:info:build mssql.c:324:20: note: place parentheses around the assignment to silence this warning
1595:info:build       while (szTmp = strstr(szTmp, "ServerName;"))
1596:info:build                    ^
1597:info:build              (                                   )
1598:info:build imap.c:424:45: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1599:info:build mssql.c:324:20: note: use '==' to turn this assignment into an equality comparison
1600:info:build     if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0)
1601:info:build                                             ^~~~~~~
1602:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here
1603:info:build       while (szTmp = strstr(szTmp, "ServerName;"))
1604:info:build                    ^
1605:info:build                    ==
1606:info:build size_t   strlen(const char *__s);
1607:info:build                             ^
1608:info:build imap.c:424:29: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1609:info:build     if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0)
1610:info:build                             ^~~~~~~
1611:info:build ../../src/medusa-net.h:86:41: note: passing argument to parameter 'buf' here
1612:info:build extern int medusaSend(int socket, char *buf, int size, int options);
1613:info:build                                         ^
1614:info:build mssql.c:342:11: warning: implicit declaration of function 'writeVerbose' is invalid in C99 [-Wimplicit-function-declaration]
1615:info:build           writeVerbose(VB_NONE_FILE, "[%s] Internal database (SQL Server Embedded Edition) identified (NOT TESTED) - server %s\n", MODULE_NAME, _psLogin->psServer->psHost->pHost);
1616:info:build           ^
1617:info:build cvs.c:308:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
1618:info:build mssql.c:348:11: warning: implicit declaration of function 'writeVerbose' is invalid in C99 [-Wimplicit-function-declaration]
1619:info:build     writeError(ERR_ERROR, "[%s] Password must be limited to 92 or less characters.", MODULE_NAME);
1620:info:build     ^
1621:info:build           writeVerbose(VB_NONE_FILE, "[%s] Internal or hidden database identified (NOT TESTED) - server %s. (Default hidden value is 2433/tcp)\n", MODULE_NAME, _psLogin->psServer->psHost->pHost);
1622:info:build           ^
1623:info:build imap.c:455:15: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1624:info:build       sprintf(bufSend, "%s CAPABILITY\r\n", _psSessionData->szTag);
1625:info:build               ^~~~~~~
1626:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf'
1627:info:build mssql.c:366:13: warning: implicit declaration of function 'writeVerbose' is invalid in C99 [-Wimplicit-function-declaration]
1628:info:build   __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
1629:info:build                            ^~~
1630:info:build imap.c:457:47: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1631:info:build       if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0)
1632:info:build                                               ^~~~~~~
1633:info:build             writeVerbose(VB_NONE_FILE, "[%s] Additional SQL server identified (NOT TESTED) - server %s on port %d/tcp\n", MODULE_NAME, _psLogin->psServer->psHost->pHost, nPortTmp);/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/string.h
1634:info:build :            ^
1635:info:build cvs.c:326:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
1636:info:build     writeError(ERR_ERROR, "[%s] failed: medusaSend was not successful", MODULE_NAME);
1637:info:build     ^
1638:info:build cvs.c:337:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
1639:info:build     writeError(ERR_DEBUG_MODULE, "[%s] Login attempt successful.", MODULE_NAME);
1640:info:build     ^
1641:info:build cvs.c:343:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
1642:info:build     writeError(ERR_ERROR, "[%s] User (%s) does not exist.", MODULE_NAME, szLogin);
1643:info:build     ^
1644:info:build cvs.c:349:5:82:28: note: passing argument to parameter '__s' here
1645:info:build size_t   strlen(const char *__s);
1646:info:build                             ^
1647:info:build imap.c:457:31: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1648:info:build       if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0)
1649:info:build                               ^~~~~~~
1650:info:build ../../src/medusa-net.h warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
1651:info:build :86:41: note: passing argument to parameter 'buf' here
1652:info:build     writeError(ERR_DEBUG_MODULE, "[%s] Login attempt failed.", MODULE_NAME);
1653:info:build     ^
1654:info:build extern int medusaSend(int socket, char *buf, int size, int options);
1655:info:build                                         ^
1656:info:build cvs.c:355:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
1657:info:build     writeError(ERR_ERROR, "[%s] Unknown Error Message: %s", MODULE_NAME, bufReceive);
1658:info:build     ^
1659:info:build cvs.c:360:3: warning: implicit declaration of function 'setPassResult' is invalid in C99 [-Wimplicit-function-declaration]
1660:info:build   setPassResult((*psLogin), szPassword);
1661:info:build   ^
1662:info:build imap.c:479:20: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1663:info:build   else if ((strstr(bufReceive,"AUTH=LOGIN") != NULL))
1664:info:build                    ^~~~~~~~~~
1665:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/string.h:89:26: note: passing argument to parameter '__big' here
1666:info:build char    *strstr(const char *__big, const char *__little);
1667:info:build                             ^
1668:info:build imap.c:484:20: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1669:info:build   else if ((strstr(bufReceive,"AUTH=PLAIN") != NULL))
1670:info:build                    ^~~~~~~~~~
1671:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/string.h:89:26: note: passing argument to parameter '__big' here
1672:info:build char    *strstr(const char *__big, const char *__little);
1673:info:build                             ^
1674:info:build imap.c:489:20: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1675:info:build   else if ((strstr(bufReceive,"AUTH=NTLM") != NULL))
1676:info:build                    ^~~~~~~~~~
1677:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/string.h:89:26: note: passing argument to parameter '__big' here
1678:info:build char    *strstr(const char *__big, const char *__little);
1679:info:build                             ^
1680:info:build imap.c:518:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
1681:info:build     writeError(ERR_DEBUG_MODULE, "[%s] Sending authenticate login value: %s\\\\%s %s", MODULE_NAME, _psSessionData->szDomain, szLogin, szPassword);
1682:info:build     ^
1683:info:build imap.c:519:13: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1684:info:build     sprintf(bufSend, "%s LOGIN \"%s\\\\%s\" \"%s\"\r\n", _psSessionData->szTag, _psSessionData->szDomain, szLogin, szPassword);
1685:info:build             ^~~~~~~
1686:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf'
1687:info:build   __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
1688:info:build                            ^~~
1689:info:build imap.c:523:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
1690:info:build     writeError(ERR_DEBUG_MODULE, "[%s] Sending authenticate login value: %s %s", MODULE_NAME, szLogin, szPassword);
1691:info:build     ^
1692:info:build imap.c:524:13: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1693:info:build     sprintf(bufSend, "%s LOGIN \"%s\" \"%s\"\r\n", _psSessionData->szTag, szLogin, szPassword);
1694:info:build             ^~~~~~~
1695:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf'
1696:info:build   __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
1697:info:build                            ^~~
1698:info:build imap.c:527:43: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1699:info:build   if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0)
1700:info:build                                           ^~~~~~~
1701:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here
1702:info:build size_t   strlen(const char *__s);
1703:info:build                             ^
1704:info:build imap.c:527:27: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1705:info:build   if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0)
1706:info:build                           ^~~~~~~
1707:info:build ../../src/medusa-net.h:86:41: note: passing argument to parameter 'buf' here
1708:info:build extern int medusaSend(int socket, char *buf, int size, int options);
1709:info:build                                         ^
1710:info:build imap.c:529:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
1711:info:build     writeError(ERR_ERROR, "%s failed: medusaSend was not successful", MODULE_NAME);
1712:info:build     ^
1713:info:build imap.c:551:11: warningmssql.c: :506:passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]27
1714:info:build : warning: passing 'unsigned char [513]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1715:info:build   sprintf(bufSend, "%s AUTHENTICATE PLAIN\r\n", _psSessionData->szTag);
1716:info:build           ^~~~~~~
1717:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/secure/_stdio.h:47:  if (medusaSend(hSocket, bufSend, MSLEN + 1 + 39 + MSLEN + 1 + 110 + 1 + MSLEN + 270, 0) < 0)28
1718:info:build :                          ^~~~~~~
1719:info:build note: expanded from macro 'sprintf'
1720:info:build ../../src/medusa-net.h:86:41: note: passing argument to parameter 'buf' here
1721:info:build   __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
1722:info:build                            ^~~
1723:info:build extern int medusaSend(int socket, char *buf, int size, int options);
1724:info:build                                         ^
1725:info:build mssql.c:508:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
1726:info:build imap.c:553:43: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1727:info:build     writeError(ERR_ERROR, "%s failed: medusaSend was not successful", MODULE_NAME);
1728:info:build     ^
1729:info:build   if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0)
1730:info:build                                           ^~~~~~~
1731:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here
1732:info:build size_t   strlen(const char *__s);
1733:info:build                             ^
1734:info:build mssql.c:511:27: warning: passing 'unsigned char [71]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1735:info:build   if (medusaSend(hSocket, pkt_langp, 71, 0) < 0)
1736:info:build                           ^~~~~~~~~
1737:info:build ../../src/medusa-net.h:86:41: note: passing argument to parameter 'buf' here
1738:info:build extern int medusaSend(int socket, char *buf, int size, int options);
1739:info:build                                         ^
1740:info:build mssql.c:513:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
1741:info:build     writeError(ERR_ERROR, "%s failed: medusaSend was not successful", MODULE_NAME);
1742:info:build     ^
1743:info:build mssql.c:517:14: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1744:info:build   bufReceive = medusaReceiveRaw(hSocket, &nReceiveBufferSize);
1745:info:build              ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1746:info:build mssql.c:523:3: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
1747:info:build   writeError(ERR_DEBUG_MODULE, "[tryLogin] medusaReceiveRaw set nReceiveBufferSize: %d", nReceiveBufferSize);
1748:info:build   ^
1749:info:build mssql.c:536:3: warning: implicit declaration of function 'setPassResult' is invalid in C99 [-Wimplicit-function-declaration]
1750:info:build   setPassResult((*psLogin), szPassword);
1751:info:build   ^
1752:info:build imap.c:553:27: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1753:info:build   if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0)
1754:info:build                           ^~~~~~~
1755:info:build ../../src/medusa-net.h:86:41: note: passing argument to parameter 'buf' here
1756:info:build extern int medusaSend(int socket, char *buf, int size, int options);
1757:info:build                                         ^
1758:info:build imap.c:555:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
1759:info:build     writeError(ERR_ERROR, "%s failed: medusaSend was not successful", MODULE_NAME);
1760:info:build     ^
1761:info:build imap.c:562:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
1762:info:build     writeError(ERR_ERROR, "[%s] IMAP server did not respond with \"+\" to AUTHENTICATE PLAIN request.", MODULE_NAME);
1763:info:build     ^
1764:info:build imap.c:580:17: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1765:info:build   base64_encode(szTmp, nSendBufferSize, szEncodedAuth);
1766:info:build                 ^~~~~
1767:info:build ./../medusa-utils.h:29:38: note: passing argument to parameter 'str' here
1768:info:build extern int base64_encode(const char *str, int length, char *b64store);
1769:info:build                                      ^
1770:info:build imap.c:580:41: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1771:info:build   base64_encode(szTmp, nSendBufferSize, szEncodedAuth);
1772:info:build                                         ^~~~~~~~~~~~~
1773:info:build ./../medusa-utils.h:29:61: note: passing argument to parameter 'b64store' here
1774:info:build extern int base64_encode(const char *str, int length, char *b64store);
1775:info:build                                                             ^
1776:info:build imap.c:583:3: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
1777:info:build   writeError(ERR_DEBUG_MODULE, "[%s] Sending authenticate plain value: %s", MODULE_NAME, szEncodedAuth);
1778:info:build   ^
1779:info:build imap.c:584:28: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1780:info:build   nSendBufferSize = strlen(szEncodedAuth) + 2;
1781:info:build                            ^~~~~~~~~~~~~
1782:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here
1783:info:build size_t   strlen(const char *__s);
1784:info:build                             ^
1785:info:build imap.c:587:11: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1786:info:build   sprintf(bufSend, "%s\r\n", szEncodedAuth);
1787:info:build           ^~~~~~~
1788:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf'
1789:info:build   __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
1790:info:build                            ^~~
1791:info:build imap.c:590:43: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1792:info:build   if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0)
1793:info:build                                           ^~~~~~~
1794:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here
1795:info:build size_t   strlen(const char *__s);
1796:info:build                             ^
1797:info:build imap.c:590:27: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1798:info:build   if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0)
1799:info:build                           ^~~~~~~
1800:info:build ../../src/medusa-net.h:86:41: note: passing argument to parameter 'buf' here
1801:info:build extern int medusaSend(int socket, char *buf, int size, int options);
1802:info:build                                         ^
1803:info:build imap.c:624:11: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1804:info:build   sprintf(bufSend, "%s AUTHENTICATE NTLM\r\n", _psSessionData->szTag);
1805:info:build           ^~~~~~~
1806:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf'
1807:info:build   __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
1808:info:build                            ^~~
1809:info:build imap.c:626:43: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1810:info:build   if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0)
1811:info:build                                           ^~~~~~~
1812:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here
1813:info:build size_t   strlen(const char *__s);
1814:info:build                             ^
1815:info:build imap.c:626:27: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1816:info:build   if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0)
1817:info:build                           ^~~~~~~
1818:info:build ../../src/medusa-net.h:86:41: note: passing argument to parameter 'buf' here
1819:info:build extern int medusaSend(int socket, char *buf, int size, int options);
1820:info:build                                         ^
1821:info:build imap.c:628:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
1822:info:build     writeError(ERR_ERROR, "%s failed: medusaSend was not successful", MODULE_NAME);
1823:info:build     ^
1824:info:build imap.c:636:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
1825:info:build     writeError(ERR_ERROR, "[%s] IMAP server did not respond with \"+\" to AUTHENTICATE NTLM request.", MODULE_NAME);
1826:info:build     ^
1827:info:build imap.c:648:56: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1828:info:build   base64_encode((char *)&sTmpReq, SmbLength(&sTmpReq), szTmpBuf64);
1829:info:build                                                        ^~~~~~~~~~
1830:info:build ./../medusa-utils.h:29:61: note: passing argument to parameter 'b64store' here
1831:info:build extern int base64_encode(const char *str, int length, char *b64store);
1832:info:build                                                             ^
1833:info:build imap.c:649:3: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
1834:info:build   writeError(ERR_DEBUG_MODULE, "[%s] Sending initial challenge (B64 Encoded): %s", MODULE_NAME, szTmpBuf64);
1835:info:build   ^
1836:info:build imap.c:651:28: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1837:info:build   nSendBufferSize = strlen(szTmpBuf64) + 2;
1838:info:build                            ^~~~~~~~~~
1839:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here
1840:info:build size_t   strlen(const char *__s);
1841:info:build                             ^
1842:info:build imap.c:654:11: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1843:info:build   sprintf(bufSend, "%s\r\n", szTmpBuf64);
1844:info:build           ^~~~~~~
1845:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf'
1846:info:build   __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
1847:info:build                            ^~~
1848:info:build imap.c:658:43: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1849:info:build   if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0)
1850:info:build                                           ^~~~~~~
1851:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here
1852:info:build size_t   strlen(const char *__s);
1853:info:build                             ^
1854:info:build imap.c:658:27: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1855:info:build   if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0)
1856:info:build                           ^~~~~~~
1857:info:build ../../src/medusa-net.h:86:41: note: passing argument to parameter 'buf' here
1858:info:build extern int medusaSend(int socket, char *buf, int size, int options);
1859:info:build                                         ^
1860:info:build imap.c:674:28: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1861:info:build   szTmpBuf = ((char*)index(bufReceive, '\r'));
1862:info:build                            ^~~~~~~~~~
1863:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/strings.h:73:25: note: passing argument to parameter here
1864:info:build char    *index(const char *, int) __POSIX_C_DEPRECATED(200112L);
1865:info:build                            ^
1866:info:build imap.c:674:12: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1867:info:build   szTmpBuf = ((char*)index(bufReceive, '\r'));
1868:info:build            ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1869:info:build imap.c:678:17: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1870:info:build   base64_decode(bufReceive + 2, (char *)&sTmpChall);
1871:info:build                 ^~~~~~~~~~~~~~
1872:info:build ./../medusa-utils.h:30:38: note: passing argument to parameter 'base64' here
1873:info:build extern int base64_decode(const char *base64, char *to);
1874:info:build                                      ^
1875:info:build imap.c:689:58: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1876:info:build   base64_encode((char *)&sTmpResp, SmbLength(&sTmpResp), szTmpBuf64);
1877:info:build                                                          ^~~~~~~~~~
1878:info:build ./../medusa-utils.h:29:61: note: passing argument to parameter 'b64store' here
1879:info:build extern int base64_encode(const char *str, int length, char *b64store);
1880:info:build                                                             ^
1881:info:build imap.c:692:28: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1882:info:build   nSendBufferSize = strlen(szTmpBuf64) + 2;
1883:info:build                            ^~~~~~~~~~
1884:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here
1885:info:build size_t   strlen(const char *__s);
1886:info:build                             ^
1887:info:build imap.c:695:11: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1888:info:build   sprintf(bufSend, "%s\r\n", szTmpBuf64);
1889:info:build           ^~~~~~~
1890:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf'
1891:info:build   __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
1892:info:build                            ^~~
1893:info:build imap.c:697:27: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1894:info:build   if (medusaSend(hSocket, bufSend, nSendBufferSize, 0) < 0)
1895:info:build                           ^~~~~~~
1896:info:build ../../src/medusa-net.h:86:41: note: passing argument to parameter 'buf' here
1897:info:build extern int medusaSend(int socket, char *buf, int size, int options);
1898:info:build                                         ^
1899:info:build imap.c:721:7: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
1900:info:build       writeError(ERR_DEBUG_MODULE, "[%s] Sending LOGIN Authentication.", MODULE_NAME);
1901:info:build       ^
1902:info:build imap.c:738:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
1903:info:build     writeError(ERR_ERROR, "[%s] Failed during sending of authentication data.", MODULE_NAME);
1904:info:build     ^
1905:info:build imap.c:740:5: warning: implicit declaration of function 'setPassResult' is invalid in C99 [-Wimplicit-function-declaration]
1906:info:build     setPassResult(*psLogin, szPassword);
1907:info:build     ^
1908:info:build imap.c:753:3: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
1909:info:build   writeError(ERR_DEBUG_MODULE, "[%s] Retrieving server response.", MODULE_NAME);
1910:info:build   ^
1911:info:build imap.c:764:10: warning: implicit declaration of function 'medusaCheckSocket' is invalid in C99 [-Wimplicit-function-declaration]
1912:info:build     if ( medusaCheckSocket(hSocket, (*psLogin)->psServer->psAudit->iSocketWait) )
1913:info:build          ^
1914:info:build imap.c:778:19: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1915:info:build   else if (strstr(bufReceive,"OK") != NULL)
1916:info:build                   ^~~~~~~~~~
1917:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/string.h:89:26: note: passing argument to parameter '__big' here
1918:info:build char    *strstr(const char *__big, const char *__little);
1919:info:build                             ^
1920:info:build imap.c:784:19: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1921:info:build   else if (strstr(bufReceive,"NO Clear text passwords have been disabled for this protocol.") != NULL)
1922:info:build                   ^~~~~~~~~~
1923:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/string.h:89:26: note: passing argument to parameter '__big' here
1924:info:build char    *strstr(const char *__big, const char *__little);
1925:info:build                             ^
1926:info:build imap.c:790:19: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1927:info:build   else if (strstr(bufReceive,"NO Cleartext login on this server requires the use of transport level security (SSL/TLS)") != NULL)
1928:info:build                   ^~~~~~~~~~
1929:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/string.h:89:26: note: passing argument to parameter '__big' here
1930:info:build char    *strstr(const char *__big, const char *__little);
1931:info:build                             ^
1932:info:build imap.c:796:19: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1933:info:build   else if (strstr(bufReceive,"NO The specified authentication package is not supported.") != NULL)
1934:info:build                   ^~~~~~~~~~
1935:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/string.h:89:26: note: passing argument to parameter '__big' here
1936:info:build char    *strstr(const char *__big, const char *__little);
1937:info:build                             ^
1938:info:build imap.c:802:19: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1939:info:build   else if (strstr(bufReceive,"NO") != NULL)
1940:info:build                   ^~~~~~~~~~
1941:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/string.h:89:26: note: passing argument to parameter '__big' here
1942:info:build char    *strstr(const char *__big, const char *__little);
1943:info:build                             ^
1944:info:build imap.c:809:16: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1945:info:build     if (strstr(bufReceive,"* BYE ") != NULL)
1946:info:build                ^~~~~~~~~~
1947:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/string.h:89:26: note: passing argument to parameter '__big' here
1948:info:build char    *strstr(const char *__big, const char *__little);
1949:info:build                             ^
1950:info:build imap.c:815:19: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1951:info:build   else if (strstr(bufReceive,"BAD") != NULL)
1952:info:build                   ^~~~~~~~~~
1953:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/string.h:89:26: note: passing argument to parameter '__big' here
1954:info:build char    *strstr(const char *__big, const char *__little);
1955:info:build                             ^
1956:info:build imap.c:829:3: warning: implicit declaration of function 'setPassResult' is invalid in C99 [-Wimplicit-function-declaration]
1957:info:build   setPassResult((*psLogin), szPassword);
1958:info:build   ^
1959:info:build mv -f .deps/medusa-trace.Tpo .deps/medusa-trace.Po
1960:info:build mysql.c:99:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
1961:info:build     writeError(ERR_ERROR, "%s reports an error in summaryUsage() : ppszSummary must be NULL when called", MODULE_NAME);
1962:info:build     ^
1963:info:build mysql.c:107:3: warning: implicit declaration of function 'writeVerbose' is invalid in C99 [-Wimplicit-function-declaration]
1964:info:build   writeVerbose(VB_NONE, "%s (%s) %s :: %s\n", MODULE_NAME, MODULE_VERSION, MODULE_AUTHOR, MODULE_SUMMARY_USAGE);
1965:info:build   ^
1966:info:build mysql.c:138:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
1967:info:build     writeError(ERR_ERROR, "%s is expecting 0 parameters, but it was passed %d", MODULE_NAME, argc);
1968:info:build     ^
1969:info:build mysql.c:142:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
1970:info:build     writeError(ERR_DEBUG_MODULE, "OMG teh %s module has been called!!", MODULE_NAME);
1971:info:build     ^
1972:info:build mysql.c:135:20: warning: result of comparison of constant 3 with boolean expression is always true [-Wtautological-constant-out-of-range-compare]
1973:info:build   if ( !(0 <= argc <= 3) )
1974:info:build          ~~~~~~~~~ ^  ~
1975:info:build /usr/bin/clang -DHAVE_CONFIG_H -I. -I../.. -I../../src   -I/opt/local/include -isysroot/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -g -DDEBUG -fPIC -I/usr/include -I/usr/local/include -I/usr/local/ssl/include -I/usr/include/postgresql -I/usr/include/pgsql -I/usr/include/afpfs-ng -I/opt/local/include  -I/opt/local/include/apr-1   -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -DDARWIN_10  -pipe -Os -isysroot/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -arch x86_64 -MT sha1.o -MD -MP -MF .deps/sha1.Tpo -c -o sha1.o sha1.c
1976:info:build mysql.c:188:7: warning: implicit declaration of function 'getNextCredSet' is invalid in C99 [-Wimplicit-function-declaration]
1977:info:build   if (getNextCredSet(psLogin, psCredSet) == FAILURE)
1978:info:build       ^
1979:info:build mysql.c:190:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
1980:info:build     writeError(ERR_ERROR, "[%s] Error retrieving next credential set to test.", MODULE_NAME);
1981:info:build     ^
1982:info:build mysql.c:195:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
1983:info:build     writeError(ERR_DEBUG_MODULE, "[%s] module started for host: %s user: %s", MODULE_NAME, psLogin->psServer->pHostIP, psCredSet->psUser->pUser);
1984:info:build     ^
1985:info:build mysql.c:199:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
1986:info:build     writeError(ERR_DEBUG_MODULE, "[%s] module started for host: %s - no more available users to test.", MODULE_NAME);
1987:info:build     ^
1988:info:build mysql.c:226:11: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
1989:info:build           writeError(ERR_NOTICE, "%s: failed to connect, port %d was not open on %s", MODULE_NAME, params.nPort, psLogin->psServer->pHostIP);
1990:info:build           ^
1991:info:build mysql.c:231:9: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
1992:info:build         writeError(ERR_DEBUG_MODULE, "Connected");
1993:info:build         ^
1994:info:build mysql.c:289:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
1995:info:build     writeError(ERR_ERROR, "%s failed: medusaSend was not successful", MODULE_NAME);
1996:info:build     ^
1997:info:build mysql.c:409:9: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
1998:info:build         writeError(ERR_ERROR, "[%s] Invalid Hash Type (Old Style Hash Required)", MODULE_NAME);
1999:info:build         ^
2000:info:build mysql.c:433:3: warning: implicit declaration of function 'sha1_reset' is invalid in C99 [-Wimplicit-function-declaration]
2001:info:build   sha1_reset(&sha1_context);
2002:info:build   ^
2003:info:build mysql.c:442:7: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2004:info:build       writeError(ERR_ERROR, "[%s] MySQL 4.1 and above use a SHA1-based authentication scheme which does not appear to be susceptible to pass-the-hash style attacks.", MODULE_NAME);
2005:info:build       ^
2006:info:build mysql.c:445:3: warning: implicit declaration of function 'sha1_input' is invalid in C99 [-Wimplicit-function-declaration]
2007:info:build   sha1_input(&sha1_context, (uint8 *) password, strlen(password));
2008:info:build   ^
2009:info:build mysql.c:446:3: warning: implicit declaration of function 'sha1_result' is invalid in C99 [-Wimplicit-function-declaration]
2010:info:build   sha1_result(&sha1_context, hash_stage1);
2011:info:build   ^
2012:info:build mysql.c:490:11: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2013:info:build   strncpy(response + 9, szLogin, login_len);
2014:info:build           ^~~~~~~~~~~~
2015:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/secure/_string.h:124:28: note: expanded from macro 'strncpy'
2016:info:build                 __builtin___strncpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest))
2017:info:build                                          ^~~~
2018:info:build mysql.c:569:11: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2019:info:build   strncpy(response + 36, szLogin, login_len);  /* NULL terminated username */
2020:info:build           ^~~~~~~~~~~~~
2021:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/secure/_string.h:124:28: note: expanded from macro 'strncpy'
2022:info:build                 __builtin___strncpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest))
2023:info:build                                          ^~~~
2024:info:build mysql.c:595:14: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2025:info:build   bufReceive = medusaReceiveRaw(hSocket, &nReceiveBufferSize);
2026:info:build              ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2027:info:build mysql.c:598:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2028:info:build     writeError(ERR_ERROR, "%s failed: medusaReceive returned no data.", MODULE_NAME);
2029:info:build     ^
2030:info:build mysql.c:605:16: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2031:info:build     if (strstr(bufReceive + 7, "is not allowed to connect to this MySQL server"))
2032:info:build                ^~~~~~~~~~~~~~
2033:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/string.h:89:26: note: passing argument to parameter '__big' here
2034:info:build char    *strstr(const char *__big, const char *__little);
2035:info:build                             ^
2036:info:build mysql.c:607:7: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2037:info:build       writeError(ERR_WARNING, "%s: Server responded that host is not allowed to connect to MySQL service.", MODULE_NAME);
2038:info:build       ^
2039:info:build mysql.c:613:7: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2040:info:build       writeError(ERR_ERROR, "%s: Failed to retrieve server version: %s", MODULE_NAME, bufReceive + 7);
2041:info:build       ^
2042:info:build mysql.c:621:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2043:info:build     writeError(ERR_ERROR, "%s: Server responded requesting protocol version (%d). Version 10 support required.", MODULE_NAME, bufReceive[4]);
2044:info:build     ^
2045:info:build mysql.c:627:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2046:info:build     writeError(ERR_WARNING, "%s: Server responded requesting protocol version (%d). Support for versions >10 is unknown.", MODULE_NAME, bufReceive[4]);
2047:info:build     ^
2048:info:build mysql.c:633:16: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2049:info:build   if (!(strstr(szServerVersion, "3.") || strstr(szServerVersion, "4.") || strstr(szServerVersion, "5.") ))
2050:info:build                ^~~~~~~~~~~~~~~
2051:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/string.h:89:26: note: passing argument to parameter '__big' here
2052:info:build char    *strstr(const char *__big, const char *__little);
2053:info:build                             ^
2054:info:build mysql.c:633:49: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2055:info:build   if (!(strstr(szServerVersion, "3.") || strstr(szServerVersion, "4.") || strstr(szServerVersion, "5.") ))
2056:info:build                                                 ^~~~~~~~~~~~~~~
2057:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/string.h:89:26: note: passing argument to parameter '__big' here
2058:info:build char    *strstr(const char *__big, const char *__little);
2059:info:build                             ^
2060:info:build mysql.c:633:82: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2061:info:build   if (!(strstr(szServerVersion, "3.") || strstr(szServerVersion, "4.") || strstr(szServerVersion, "5.") ))
2062:info:build                                                                                  ^~~~~~~~~~~~~~~
2063:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/string.h:89:26: note: passing argument to parameter '__big' here
2064:info:build char    *strstr(const char *__big, const char *__little);
2065:info:build                             ^
2066:info:build mysql.c:635:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2067:info:build     writeError(ERR_ERROR, "%s: Server responded requesting version (%d). Only versions 3.x, 4.x, and 5.x are currently supported.", MODULE_NAME, szServerVersion);
2068:info:build     ^
2069:info:build mysql.c:640:15: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2070:info:build   if ((strstr(szServerVersion, "4.1") || strstr(szServerVersion, "5.") ))
2071:info:build               ^~~~~~~~~~~~~~~
2072:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/string.h:89:26: note: passing argument to parameter '__big' here
2073:info:build char    *strstr(const char *__big, const char *__little);
2074:info:build                             ^
2075:info:build mysql.c:640:49: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2076:info:build   if ((strstr(szServerVersion, "4.1") || strstr(szServerVersion, "5.") ))
2077:info:build                                                 ^~~~~~~~~~~~~~~
2078:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/string.h:89:26: note: passing argument to parameter '__big' here
2079:info:build char    *strstr(const char *__big, const char *__little);
2080:info:build                             ^
2081:info:build mysql.c:643:6: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2082:info:build      writeError(ERR_DEBUG_MODULE, "%s: Server version %s is using newer auth method.", MODULE_NAME, szServerVersion);
2083:info:build      ^
2084:info:build mysql.c:651:48: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2085:info:build     memcpy(*szSessionSalt, bufReceive + strlen(szServerVersion) + 10, 9);
2086:info:build                                                ^~~~~~~~~~~~~~~
2087:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/secure/_string.h:62:33: note: expanded from macro 'memcpy'
2088:info:build                 __builtin___memcpy_chk (dest, __VA_ARGS__, __darwin_obsz0 (dest))
2089:info:build                                               ^~~~~~~~~~~
2090:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here
2091:info:build size_t   strlen(const char *__s);
2092:info:build                             ^
2093:info:build mysql.c:652:51: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2094:info:build     memcpy(*szSessionSalt+8 , bufReceive + strlen(szServerVersion) + 37 , 12);
2095:info:build                                                   ^~~~~~~~~~~~~~~
2096:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/secure/_string.h:62:33: note: expanded from macro 'memcpy'
2097:info:build                 __builtin___memcpy_chk (dest, __VA_ARGS__, __darwin_obsz0 (dest))
2098:info:build                                               ^~~~~~~~~~~
2099:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here
2100:info:build size_t   strlen(const char *__s);
2101:info:build                             ^
2102:info:build mysql.c:654:16: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2103:info:build     if (strlen(*szSessionSalt) != 20)
2104:info:build                ^~~~~~~~~~~~~~
2105:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here
2106:info:build size_t   strlen(const char *__s);
2107:info:build                             ^
2108:info:build mysql.c:656:7: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2109:info:build       writeError(ERR_ERROR, "%s: Failed to retrieve valid session salt.", MODULE_NAME);
2110:info:build       ^
2111:info:build mysql.c:662:7: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2112:info:build       writeError(ERR_DEBUG_MODULE, "%s: Retrieved session salt: %s", MODULE_NAME, *szSessionSalt);
2113:info:build       ^
2114:info:build mysql.c:670:48: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2115:info:build     memcpy(*szSessionSalt, bufReceive + strlen(szServerVersion) + 10, 9);
2116:info:build                                                ^~~~~~~~~~~~~~~
2117:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/secure/_string.h:62:33: note: expanded from macro 'memcpy'
2118:info:build                 __builtin___memcpy_chk (dest, __VA_ARGS__, __darwin_obsz0 (dest))
2119:info:build                                               ^~~~~~~~~~~
2120:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here
2121:info:build size_t   strlen(const char *__s);
2122:info:build                             ^
2123:info:build mysql.c:672:16: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2124:info:build     if (strlen(*szSessionSalt) != 8) {
2125:info:build                ^~~~~~~~~~~~~~
2126:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here
2127:info:build size_t   strlen(const char *__s);
2128:info:build                             ^
2129:info:build mysql.c:673:7: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2130:info:build       writeError(ERR_ERROR, "%s: Failed to retrieve valid session salt.", MODULE_NAME);
2131:info:build       ^
2132:info:build mysql.c:679:7: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2133:info:build       writeError(ERR_DEBUG_MODULE, "%s: Retrieved session salt: %s.", MODULE_NAME, *szSessionSalt);
2134:info:build       ^
2135:info:build mysql.c:700:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2136:info:build     writeError(ERR_ERROR, "[%s] Failed to initialize MySQL connection (%s).", MODULE_NAME, (*psLogin)->psServer->pHostIP);
2137:info:build     ^
2138:info:build mysql.c:706:14: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2139:info:build   if (strlen(szSessionSalt) == 8 || _psSessionData->protoFlag == PROTO_OLD)
2140:info:build              ^~~~~~~~~~~~~
2141:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here
2142:info:build size_t   strlen(const char *__s);
2143:info:build                             ^
2144:info:build mysql.c:709:7: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2145:info:build       writeError(ERR_DEBUG_MODULE, "[%s] Using older style authentication based on previous server response.", MODULE_NAME);
2146:info:build       ^
2147:info:build mysql.c:712:69: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2148:info:build     iRet = MySQLPrepareAuthOld(_psSessionData, szLogin, szPassword, szSessionSalt, &szResponse, &iResponseLength);
2149:info:build                                                                     ^~~~~~~~~~~~~
2150:info:build mysql.c:462:93: note: passing argument to parameter 'szSessionSalt' here
2151:info:build int MySQLPrepareAuthOld(_MYSQL_DATA *_psSessionData, char* szLogin, char* szPassword, char* szSessionSalt, unsigned char** szResponse, unsigned long* iResponseLength)
2152:info:build                                                                                             ^
2153:info:build mysql.c:715:7: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2154:info:build       writeError(ERR_ERROR, "[%s] Failed to create client authentication packet.", MODULE_NAME);
2155:info:build       ^
2156:info:build mysql.c:721:66: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2157:info:build     iRet = MySQLPrepareAuth(_psSessionData, szLogin, szPassword, szSessionSalt, &szResponse, &iResponseLength);
2158:info:build                                                                  ^~~~~~~~~~~~~
2159:info:build mysql.c:530:90: note: passing argument to parameter 'szSessionSalt' here
2160:info:build int MySQLPrepareAuth(_MYSQL_DATA *_psSessionData, char* szLogin, char* szPassword, char* szSessionSalt, unsigned char** szResponse, unsigned long* iResponseLength)
2161:info:build                                                                                          ^
2162:info:build mysql.c:724:7: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2163:info:build       writeError(ERR_ERROR, "%s: Failed to create client authentication packet.", MODULE_NAME);
2164:info:build       ^
2165:info:build mysql.c:730:27: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2166:info:build   if (medusaSend(hSocket, szResponse, iResponseLength, 0) < 0)
2167:info:build                           ^~~~~~~~~~
2168:info:build ../../src/medusa-net.h:86:41: note: passing argument to parameter 'buf' here
2169:info:build extern int medusaSend(int socket, char *buf, int size, int options);
2170:info:build                                         ^
2171:info:build mysql.c:732:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2172:info:build     writeError(ERR_ERROR, "%s failed: medusaSend was not successful", MODULE_NAME);
2173:info:build     ^
2174:info:build mysql.c:740:14: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2175:info:build   bufReceive = medusaReceiveRaw(hSocket, &nReceiveBufferSize);
2176:info:build              ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2177:info:build mysql.c:743:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2178:info:build     writeError(ERR_ERROR, "%s failed: medusaReceive returned no data.", MODULE_NAME);
2179:info:build     ^
2180:info:build mysql.c:758:7: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2181:info:build       writeError(ERR_ERROR, "[%s] failed: MYSQL VERSION IS NEWER\n", MODULE_NAME);
2182:info:build       ^
2183:info:build mysql.c:773:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2184:info:build     writeError(ERR_DEBUG_MODULE, "[%s] Server requested older authentication type. It is likely the remote account exists and has an older style password hash.", MODULE_NAME);
2185:info:build     ^
2186:info:build mysql.c:779:72: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2187:info:build     iRet = MySQLPrepareAuthNewOld(_psSessionData, szLogin, szPassword, szSessionSalt, &szResponse, &iResponseLength);
2188:info:build                                                                        ^~~~~~~~~~~~~
2189:info:build mysql.c:508:96: note: passing argument to parameter 'szSessionSalt' here
2190:info:build int MySQLPrepareAuthNewOld(_MYSQL_DATA *_psSessionData, char* szLogin, char* szPassword, char* szSessionSalt, unsigned char** szResponse, unsigned long* iResponseLength)
2191:info:build                                                                                                ^
2192:info:build mysql.c:787:29: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2193:info:build     if (medusaSend(hSocket, szResponse, iResponseLength, 0) < 0)
2194:info:build                             ^~~~~~~~~~
2195:info:build ../../src/medusa-net.h:86:41: note: passing argument to parameter 'buf' here
2196:info:build extern int medusaSend(int socket, char *buf, int size, int options);
2197:info:build                                         ^
2198:info:build mysql.c:798:16: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2199:info:build     bufReceive = medusaReceiveRaw(hSocket, &nReceiveBufferSize);
2200:info:build                ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2201:info:build mysql.c:826:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2202:info:build     writeError(ERR_ERROR, "%s: Unknown response code received from server: %X", MODULE_NAME, bufReceive[4]);
2203:info:build     ^
2204:info:build mysql.c:835:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2205:info:build     writeError(ERR_ERROR, "%s: Failed to terminate MySQL connection.", MODULE_NAME);
2206:info:build     ^
2207:info:build mysql.c:840:3: warning: implicit declaration of function 'setPassResult' is invalid in C99 [-Wimplicit-function-declaration]
2208:info:build   setPassResult((*psLogin), szPassword);
2209:info:build   ^
2210:info:build 17 warnings generated.
2211:info:build mv -f .deps/cvs.Tpo .deps/cvs.Po
2212:info:build /usr/bin/clang -DHAVE_CONFIG_H -I. -I../.. -I../../src   -I/opt/local/include -isysroot/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -g -DDEBUG -fPIC -I/usr/include -I/usr/local/include -I/usr/local/ssl/include -I/usr/include/postgresql -I/usr/include/pgsql -I/usr/include/afpfs-ng -I/opt/local/include  -I/opt/local/include/apr-1   -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -DDARWIN_10  -pipe -Os -isysroot/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -arch x86_64 -MT nntp.o -MD -MP -MF .deps/nntp.Tpo -c -o nntp.o nntp.c
2213:info:build 28 warnings generated.
2214:info:build 46 warnings generated.
2215:info:build mv -f .deps/mssql.Tpo .deps/mssql.Po
2216:info:build mv -f .deps/ftp.Tpo .deps/ftp.Po
2217:info:build /usr/bin/clang -DHAVE_CONFIG_H -I. -I../.. -I../../src   -I/opt/local/include -isysroot/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -g -DDEBUG -fPIC -I/usr/include -I/usr/local/include -I/usr/local/ssl/include -I/usr/include/postgresql -I/usr/include/pgsql -I/usr/include/afpfs-ng -I/opt/local/include  -I/opt/local/include/apr-1   -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -DDARWIN_10  -pipe -Os -isysroot/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -arch x86_64 -MT pcanywhere.o -MD -MP -MF .deps/pcanywhere.Tpo -c -o pcanywhere.o pcanywhere.c
2218:info:build /usr/bin/clang -DHAVE_CONFIG_H -I. -I../.. -I../../src   -I/opt/local/include -isysroot/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -g -DDEBUG -fPIC -I/usr/include -I/usr/local/include -I/usr/local/ssl/include -I/usr/include/postgresql -I/usr/include/pgsql -I/usr/include/afpfs-ng -I/opt/local/include  -I/opt/local/include/apr-1   -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -DDARWIN_10  -pipe -Os -isysroot/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -arch x86_64 -MT pop3.o -MD -MP -MF .deps/pop3.Tpo -c -o pop3.o pop3.c
2219:info:build 101 warnings generated.
2220:info:build mv -f .deps/http.Tpo .deps/http.Po
2221:info:build /usr/bin/clang -DHAVE_CONFIG_H -I. -I../.. -I../../src   -I/opt/local/include -isysroot/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -g -DDEBUG -fPIC -I/usr/include -I/usr/local/include -I/usr/local/ssl/include -I/usr/include/postgresql -I/usr/include/pgsql -I/usr/include/afpfs-ng -I/opt/local/include  -I/opt/local/include/apr-1   -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -DDARWIN_10  -pipe -Os -isysroot/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -arch x86_64 -MT rexec.o -MD -MP -MF .deps/rexec.Tpo -c -o rexec.o rexec.c
2222:info:build mv -f .deps/sha1.Tpo .deps/sha1.Po
2223:info:build 82 warnings generated.
2224:info:build /usr/bin/clang -DHAVE_CONFIG_H -I. -I../.. -I../../src   -I/opt/local/include -isysroot/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -g -DDEBUG -fPIC -I/usr/include -I/usr/local/include -I/usr/local/ssl/include -I/usr/include/postgresql -I/usr/include/pgsql -I/usr/include/afpfs-ng -I/opt/local/include  -I/opt/local/include/apr-1   -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -DDARWIN_10  -pipe -Os -isysroot/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -arch x86_64 -MT rlogin.o -MD -MP -MF .deps/rlogin.Tpo -c -o rlogin.o rlogin.c
2225:info:build nntp.c:89:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2226:info:build     writeError(ERR_ERROR, "%s reports an error in summaryUsage() : ppszSummary must be NULL when called", MODULE_NAME);
2227:info:build     ^
2228:info:build nntp.c:96:3: warning: implicit declaration of function 'writeVerbose' is invalid in C99 [-Wimplicit-function-declaration]
2229:info:build   writeVerbose(VB_NONE, "%s (%s) %s :: %s\n", MODULE_NAME, MODULE_VERSION, MODULE_AUTHOR, MODULE_SUMMARY_USAGE);
2230:info:build   ^
2231:info:build nntp.c:113:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2232:info:build     writeError(ERR_ERROR, "%s is expecting 0 parameters, but it was passed %d", MODULE_NAME, argc);
2233:info:build     ^
2234:info:build nntp.c:117:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2235:info:build     writeError(ERR_DEBUG_MODULE, "OMG teh %s module has been called!!", MODULE_NAME);
2236:info:build     ^
2237:info:build mv -f .deps/imap.Tpo .deps/imap.Po
2238:info:build nntp.c:110:20: warning: result of comparison of constant 3 with boolean expression is always true [-Wtautological-constant-out-of-range-compare]
2239:info:build   if ( !(0 <= argc <= 3) )
2240:info:build          ~~~~~~~~~ ^  ~
2241:info:build nntp.c:135:7: warning: implicit declaration of function 'getNextCredSet' is invalid in C99 [-Wimplicit-function-declaration]
2242:info:build   if (getNextCredSet(psLogin, psCredSet) == FAILURE)
2243:info:build       ^
2244:info:build nntp.c:137:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2245:info:build     writeError(ERR_ERROR, "[%s] Error retrieving next credential set to test.", MODULE_NAME);
2246:info:build     ^
2247:info:build nntp.c:142:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2248:info:build     writeError(ERR_DEBUG_MODULE, "[%s] module started for host: %s user: %s", MODULE_NAME, psLogin->psServer->pHostIP, psCredSet->psUser->pUser);
2249:info:build     ^
2250:info:build nntp.c:146:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2251:info:build     writeError(ERR_DEBUG_MODULE, "[%s] module started for host: %s - no more available users to test.", MODULE_NAME);
2252:info:build     ^
2253:info:build nntp.c:175:11: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2254:info:build           writeError(ERR_NOTICE, "[%s] failed to connect, port %d was not open on %s", MODULE_NAME, params.nPort, psLogin->psServer->pHostIP);
2255:info:build           ^
2256:info:build nntp.c:190:13: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2257:info:build             writeError(ERR_ERROR, "[%s] Error retrieving next credential set to test.", MODULE_NAME);
2258:info:build             ^
2259:info:build nntp.c:197:15: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2260:info:build               writeError(ERR_DEBUG_MODULE, "[%s] No more available credential sets to test.", MODULE_NAME);
2261:info:build               ^
2262:info:build nntp.c:202:15: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2263:info:build               writeError(ERR_DEBUG_MODULE, "[%s] Starting testing for new user: %s.", MODULE_NAME, psCredSet->psUser->pUser);
2264:info:build               ^
2265:info:build nntp.c:206:15: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2266:info:build               writeError(ERR_DEBUG_MODULE, "[%s] Next credential set - user: %s password: %s", MODULE_NAME, psCredSet->psUser->pUser, psCredSet->pPass);
2267:info:build               ^
2268:info:build nntp.c:217:9: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2269:info:build         writeError(ERR_CRITICAL, "Unknown %s module state %d", MODULE_NAME, nState);
2270:info:build         ^
2271:info:build /usr/bin/clang -DHAVE_CONFIG_H -I. -I../.. -I../../src   -I/opt/local/include -isysroot/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -g -DDEBUG -fPIC -I/usr/include -I/usr/local/include -I/usr/local/ssl/include -I/usr/include/postgresql -I/usr/include/pgsql -I/usr/include/afpfs-ng -I/opt/local/include  -I/opt/local/include/apr-1   -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -DDARWIN_10  -pipe -Os -isysroot/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -arch x86_64 -MT rsh.o -MD -MP -MF .deps/rsh.Tpo -c -o rsh.o rsh.c
2272:info:build nntp.c:236:11: warning: passing 'unsigned char [300]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2273:info:build   sprintf(bufSend, "QUIT\r\n");
2274:info:build           ^~~~~~~
2275:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf'
2276:info:build   __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
2277:info:build                            ^~~
2278:info:build nntp.c:238:43: warning: passing 'unsigned char [300]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2279:info:build   if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0)
2280:info:build                                           ^~~~~~~
2281:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here
2282:info:build size_t   strlen(const char *__s);
2283:info:build                             ^
2284:info:build nntp.c:238:27: warning: passing 'unsigned char [300]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2285:info:build   if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0)
2286:info:build                           ^~~~~~~
2287:info:build ../../src/medusa-net.h:86:41: note: passing argument to parameter 'buf' here
2288:info:build extern int medusaSend(int socket, char *buf, int size, int options);
2289:info:build                                         ^
2290:info:build nntp.c:240:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2291:info:build     writeError(ERR_ERROR, "[%s] failed: medusaSend was not successful", MODULE_NAME);
2292:info:build     ^
2293:info:build nntp.c:256:14: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2294:info:build   bufReceive = medusaReceiveRaw(hSocket, &nReceiveBufferSize);
2295:info:build              ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2296:info:build nntp.c:259:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2297:info:build     writeError(ERR_ERROR, "[%s] failed: medusaReceive returned no data. Exiting...", MODULE_NAME);
2298:info:build     ^
2299:info:build nntp.c:263:20: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2300:info:build   else if ((strstr(bufReceive,"200") != NULL))
2301:info:build                    ^~~~~~~~~~
2302:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/string.h:89:26: note: passing argument to parameter '__big' here
2303:info:build char    *strstr(const char *__big, const char *__little);
2304:info:build                             ^
2305:info:build nntp.c:265:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2306:info:build     writeError(ERR_DEBUG_MODULE, "[%s] Retrieved NNTP service banner.", MODULE_NAME);
2307:info:build     ^
2308:info:build nntp.c:268:20: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2309:info:build   else if ((strstr(bufReceive,"400") != NULL))
2310:info:build                    ^~~~~~~~~~
2311:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/string.h:89:26: note: passing argument to parameter '__big' here
2312:info:build char    *strstr(const char *__big, const char *__little);
2313:info:build                             ^
2314:info:build nntp.c:270:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2315:info:build     writeError(ERR_DEBUG_MODULE, "[%s] Too many connections from host recieved by server.", MODULE_NAME);
2316:info:build     ^
2317:info:build nntp.c:276:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2318:info:build     writeError(ERR_ERROR, "[%s] Failed to retrieve NNTP service banner.", MODULE_NAME);
2319:info:build     ^
2320:info:build nntp.c:283:11: warning: passing 'unsigned char [300]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2321:info:build   sprintf(bufSend, "HELP\r\n");
2322:info:build           ^~~~~~~
2323:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf'
2324:info:build   __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
2325:info:build                            ^~~
2326:info:build nntp.c:285:43: warning: passing 'unsigned char [300]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2327:info:build   if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0)
2328:info:build                                           ^~~~~~~
2329:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here
2330:info:build size_t   strlen(const char *__s);
2331:info:build                             ^
2332:info:build nntp.c:285:27: warning: passing 'unsigned char [300]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2333:info:build   if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0)
2334:info:build                           ^~~~~~~
2335:info:build ../../src/medusa-net.h:86:41: note: passing argument to parameter 'buf' here
2336:info:build extern int medusaSend(int socket, char *buf, int size, int options);
2337:info:build                                         ^
2338:info:build nntp.c:287:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2339:info:build     writeError(ERR_ERROR, "[%s] failed: medusaSend was not successful", MODULE_NAME);
2340:info:build     ^
2341:info:build nntp.c:293:14: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2342:info:build   bufReceive = medusaReceiveRaw(hSocket, &nReceiveBufferSize);
2343:info:build              ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2344:info:build nntp.c:296:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2345:info:build     writeError(ERR_ERROR, "[%s] failed: medusaReceive returned no data.", MODULE_NAME);
2346:info:build     ^
2347:info:build nntp.c:301:19: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2348:info:build   else if (strstr(bufReceive,"480") != NULL)
2349:info:build                   ^~~~~~~~~~
2350:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/string.h:89:26: note: passing argument to parameter '__big' here
2351:info:build char    *strstr(const char *__big, const char *__little);
2352:info:build                             ^
2353:info:build nntp.c:303:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2354:info:build     writeError(ERR_DEBUG_MODULE, "[%s] Server requires authentication.", MODULE_NAME);
2355:info:build     ^
2356:info:build nntp.c:308:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2357:info:build     writeError(ERR_ERROR, "[%s] Server does not appear to require authentication.", MODULE_NAME);
2358:info:build     ^
2359:info:build nntp.c:326:11: warning: passing 'unsigned char [300]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2360:info:build   sprintf(bufSend, "AUTHINFO USER %.250s\r\n", szLogin);
2361:info:build           ^~~~~~~
2362:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf'
2363:info:build   __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
2364:info:build                            ^~~
2365:info:build nntp.c:328:43: warning: passing 'unsigned char [300]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2366:info:build   if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0)
2367:info:build                                           ^~~~~~~
2368:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here
2369:info:build size_t   strlen(const char *__s);
2370:info:build                             ^
2371:info:build nntp.c:328:27: warning: passing 'unsigned char [300]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2372:info:build   if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0)
2373:info:build                           ^~~~~~~
2374:info:build ../../src/medusa-net.h:86:41: note: passing argument to parameter 'buf' here
2375:info:build extern int medusaSend(int socket, char *buf, int size, int options);
2376:info:build                                         ^
2377:info:build nntp.c:330:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2378:info:build     writeError(ERR_ERROR, "[%s] failed: medusaSend was not successful", MODULE_NAME);
2379:info:build     ^
2380:info:build nntp.c:334:14: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2381:info:build   bufReceive = medusaReceiveRaw(hSocket, &nReceiveBufferSize);
2382:info:build              ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2383:info:build nntp.c:337:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2384:info:build     writeError(ERR_ERROR, "[%s] failed: medusaReceive returned no data.", MODULE_NAME);
2385:info:build     ^
2386:info:build nntp.c:341:19: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2387:info:build   else if (strstr(bufReceive,"381") != NULL)
2388:info:build                   ^~~~~~~~~~
2389:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/string.h:89:26: note: passing argument to parameter '__big' here
2390:info:build char    *strstr(const char *__big, const char *__little);
2391:info:build                             ^
2392:info:build nntp.c:343:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2393:info:build     writeError(ERR_DEBUG_MODULE, "[%s] Receive 381 response requesting user password.", MODULE_NAME);
2394:info:build     ^
2395:info:build nntp.c:347:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2396:info:build     writeError(ERR_DEBUG_MODULE, "[%s] Server did not send a 381 response. Password authentication for user may not be required.", MODULE_NAME);
2397:info:build     ^
2398:info:build nntp.c:356:13: warning: passing 'unsigned char [300]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2399:info:build     sprintf(bufSend, "AUTHINFO PASS \"\"\r\n");
2400:info:build             ^~~~~~~
2401:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf'
2402:info:build   __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
2403:info:build                            ^~~
2404:info:build nntp.c:358:13: warning: passing 'unsigned char [300]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2405:info:build     sprintf(bufSend, "AUTHINFO PASS %.250s\r\n", szPassword);
2406:info:build             ^~~~~~~
2407:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf'
2408:info:build   __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
2409:info:build                            ^~~
2410:info:build nntp.c:360:43: warning: passing 'unsigned char [300]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2411:info:build   if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0)
2412:info:build                                           ^~~~~~~
2413:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here
2414:info:build size_t   strlen(const char *__s);
2415:info:build                             ^
2416:info:build nntp.c:360:27: warning: passing 'unsigned char [300]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2417:info:build   if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0)
2418:info:build                           ^~~~~~~
2419:info:build ../../src/medusa-net.h:86:41: note: passing argument to parameter 'buf' here
2420:info:build extern int medusaSend(int socket, char *buf, int size, int options);
2421:info:build                                         ^
2422:info:build nntp.c:362:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2423:info:build     writeError(ERR_ERROR, "[%s] failed: medusaSend was not successful", MODULE_NAME);
2424:info:build     ^
2425:info:build nntp.c:366:14: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2426:info:build   bufReceive = medusaReceiveRaw(hSocket, &nReceiveBufferSize);
2427:info:build              ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2428:info:build nntp.c:369:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2429:info:build     writeError(ERR_ERROR, "[%s] failed: medusaReceive returned no data.", MODULE_NAME);
2430:info:build     ^
2431:info:build nntp.c:373:19: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2432:info:build   else if (strstr(bufReceive,"281") != NULL)
2433:info:build                   ^~~~~~~~~~
2434:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/string.h:89:26: note: passing argument to parameter '__big' here
2435:info:build char    *strstr(const char *__big, const char *__little);
2436:info:build                             ^
2437:info:build nntp.c:375:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2438:info:build     writeError(ERR_ERROR, "[%s] Login attempt successful.", MODULE_NAME);
2439:info:build     ^
2440:info:build nntp.c:380:19: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2441:info:build   else if (strstr(bufReceive,"482") != NULL)
2442:info:build                   ^~~~~~~~~~
2443:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/string.h:89:26: note: passing argument to parameter '__big' here
2444:info:build char    *strstr(const char *__big, const char *__little);
2445:info:build                             ^
2446:info:build nntp.c:382:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2447:info:build     writeError(ERR_DEBUG_MODULE, "[%s] Login attempt rejected.", MODULE_NAME);
2448:info:build     ^
2449:info:build nntp.c:387:19: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2450:info:build   else if (strstr(bufReceive,"501") != NULL)
2451:info:build                   ^~~~~~~~~~
2452:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/string.h:89:26: note: passing argument to parameter '__big' here
2453:info:build char    *strstr(const char *__big, const char *__little);
2454:info:build                             ^
2455:info:build nntp.c:389:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2456:info:build     writeError(ERR_ERROR, "[%s] Bad command usage.", MODULE_NAME);
2457:info:build     ^
2458:info:build nntp.c:394:19: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2459:info:build   else if (strstr(bufReceive,"502") != NULL)
2460:info:build                   ^~~~~~~~~~
2461:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/string.h:89:26: note: passing argument to parameter '__big' here
2462:info:build char    *strstr(const char *__big, const char *__little);
2463:info:build                             ^
2464:info:build nntp.c:396:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2465:info:build     writeError(ERR_DEBUG_MODULE, "[%s] Login attempt failed.", MODULE_NAME);
2466:info:build     ^
2467:info:build nntp.c:402:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2468:info:build     writeError(ERR_ERROR, "[%s] Unknown server response.", MODULE_NAME);
2469:info:build     ^
2470:info:build nntp.c:408:3: warning: implicit declaration of function 'setPassResult' is invalid in C99 [-Wimplicit-function-declaration]
2471:info:build   setPassResult((*psLogin), szPassword);
2472:info:build   ^
2473:info:build pcanywhere.c:106:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2474:info:build     writeError(ERR_ERROR, "%s reports an error in summaryUsage() : ppszSummary must be NULL when called", MODULE_NAME);
2475:info:build     ^
2476:info:build pop3.c:97:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2477:info:build     writeError(ERR_ERROR, "%s reports an error in summaryUsage() : ppszSummary must be NULL when called", MODULE_NAME);
2478:info:build     ^
2479:info:build pcanywhere.c:113:pop3.c:104:3: warning: implicit declaration of function 'writeVerbose' is invalid in C99 [-Wimplicit-function-declaration]
2480:info:build 3:   writeVerbose(VB_NONE, "%s (%s) %s :: %s\n", MODULE_NAME, MODULE_VERSION, MODULE_AUTHOR, MODULE_SUMMARY_USAGE);
2481:info:build   ^
2482:info:build warning: implicit declaration of function 'writeVerbose' is invalid in C99 [-Wimplicit-function-declaration]
2483:info:build   writeVerbose(VB_NONE, "%s (%s) %s :: %s\n", MODULE_NAME, MODULE_VERSION, MODULE_AUTHOR, MODULE_SUMMARY_USAGE);
2484:info:build   ^
2485:info:build pop3.c:136:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2486:info:build     writeError(ERR_ERROR, "%s is expecting 0 parameters, but it was passed %d", MODULE_NAME, argc);
2487:info:build     ^
2488:info:build pop3.c:140:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2489:info:build pcanywhere.c:136:5: warning:     writeError(ERR_DEBUG_MODULE, "OMG teh %s module has been called!!", MODULE_NAME);
2490:info:build     ^
2491:info:build implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2492:info:build     writeError(ERR_ERROR, "%s is expecting 0 parameters, but it was passed %d", MODULE_NAME, argc);
2493:info:build     ^
2494:info:build pcanywhere.c:140:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2495:info:build     writeError(ERR_DEBUG_MODULE, "OMG teh %s module has been called!!", MODULE_NAME);
2496:info:build     ^
2497:info:build pop3.c:133:20: warning: result of comparison of constant 3 with boolean expression is always true [-Wtautological-constant-out-of-range-compare]
2498:info:build   if ( !(0 <= argc <= 3) )
2499:info:build pcanywhere.c:158:         ~~~~~~~~~ ^  ~
2500:info:build 49: warning: passing 'unsigned char [17]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2501:info:build           memset(psSessionData->domain + strlen(psSessionData->domain) + 1, 0x5C, 1); // '\'
2502:info:build                                                 ^~~~~~~~~~~~~~~~~~~~~
2503:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/secure/_string.h:76:27: note: expanded from macro 'memset'
2504:info:build                 __builtin___memset_chk (dest, __VA_ARGS__, __darwin_obsz0 (dest))
2505:info:build                                         ^~~~
2506:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here
2507:info:build size_t   strlen(const char *__s);
2508:info:build                             ^
2509:info:build pcanywhere.c:158:49: warning: passing 'unsigned char [17]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2510:info:build           memset(psSessionData->domain + strlen(psSessionData->domain) + 1, 0x5C, 1); // '\'
2511:info:build                                                 ^~~~~~~~~~~~~~~~~~~~~
2512:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/secure/_string.h:76:62: note: expanded from macro 'memset'
2513:info:build                 __builtin___memset_chk (dest, __VA_ARGS__, __darwin_obsz0 (dest))
2514:info:build                                                                            ^~~~
2515:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/secure/_common.h:38:55: note: expanded from macro '__darwin_obsz0'
2516:info:build #define __darwin_obsz0(object) __builtin_object_size (object, 0)
2517:info:build                                                       ^~~~~~
2518:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here
2519:info:build size_t   strlen(const char *__s);
2520:info:build                             ^
2521:info:build pcanywhere.c:133:20: warning: result of comparison of constant 3 with boolean expression is always true [-Wtautological-constant-out-of-range-compare]
2522:info:build   if ( !(0 <= argc <= 3) )
2523:info:build          ~~~~~~~~~ ^  ~
2524:info:build pop3.c:220:7: warning: implicit declaration of function 'getNextCredSet' is invalid in C99 [-Wimplicit-function-declaration]
2525:info:build   if (getNextCredSet(psLogin, psCredSet) == FAILURE)
2526:info:build       ^
2527:info:build pop3.c:222:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2528:info:build     writeError(ERR_ERROR, "[%s] Error retrieving next credential set to test.", MODULE_NAME);
2529:info:build     ^
2530:info:build pop3.c:227:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2531:info:build     writeError(ERR_DEBUG_MODULE, "[%s] module started for host: %s user: %s", MODULE_NAME, psLogin->psServer->pHostIP, psCredSet->psUser->pUser);
2532:info:build     ^
2533:info:build pop3.c:231:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2534:info:build     writeError(ERR_DEBUG_MODULE, "[%s] module started for host: %s - no more available users to test.", MODULE_NAME);
2535:info:build     ^
2536:info:build pop3.c:260:11: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2537:info:build           writeError(ERR_NOTICE, "%s: failed to connect, port %d was not open on %s", MODULE_NAME, params.nPort, psLogin->psServer->pHostIP);
2538:info:build           ^
2539:info:build pcanywhere.c:189:7: warning: implicit declaration of function 'getNextCredSet' is invalid in C99 [-Wimplicit-function-declaration]
2540:info:build   if (getNextCredSet(psLogin, psCredSet) == FAILURE)
2541:info:build       ^
2542:info:build pop3.c:269:11: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2543:info:build pcanywhere.c:191:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2544:info:build           writeError(ERR_DEBUG_MODULE, "%s failed: Server did not respond with '+OK'. Exiting...", MODULE_NAME);
2545:info:build           ^
2546:info:build     writeError(ERR_ERROR, "[%s] Error retrieving next credential set to test.", MODULE_NAME);
2547:info:build     ^
2548:info:build pop3.c:275:11: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2549:info:build pcanywhere.c:196:          writeError(ERR_DEBUG_MODULE, "Connected");
2550:info:build           ^
2551:info:build 5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2552:info:build     writeError(ERR_DEBUG_MODULE, "[%s] module started for host: %s user: %s", MODULE_NAME, psLogin->psServer->pHostIP, psCredSet->psUser->pUser);
2553:info:build     ^
2554:info:build pcanywhere.c:200:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2555:info:build pop3.c:292:19: warning: passing 'unsigned char [300]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2556:info:build           sprintf(bufSend, "STLS\r\n");
2557:info:build                   ^~~~~~~
2558:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf'
2559:info:build   __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
2560:info:build                            ^~~
2561:info:build     writeError(ERR_DEBUG_MODULE, "[%s] module started for host: %s - no more available users to test.", MODULE_NAME);pop3.c:293:
2562:info:build 51: warning: passing 'unsigned char [300]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2563:info:build           if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0)
2564:info:build                                                   ^~~~~~~
2565:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here
2566:info:build size_t   strlen(const char *__s);
2567:info:build                             ^
2568:info:build pop3.c:293:35: warning: passing 'unsigned char [300]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2569:info:build           if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0)
2570:info:build                                   ^~~~~~~
2571:info:build ../../src/medusa-net.h:86:41: note: passing argument to parameter 'buf' here
2572:info:build extern int medusaSend(int socket, char *buf, int size, int options);
2573:info:build                                         ^
2574:info:build pop3.c:295:13: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2575:info:build     ^
2576:info:build             writeError(ERR_ERROR, "[%s] failed: medusaSend was not successful", MODULE_NAME);
2577:info:build             ^
2578:info:build pop3.c:302:13: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2579:info:build             writeError(ERR_ERROR, "[%s] Failed: Unexpected or no data received: %s", MODULE_NAME, bufReceive);
2580:info:build             ^
2581:info:build pcanywhere.c:235:11: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2582:info:build           writeError(ERR_NOTICE, "%s: failed to connect, port %d was not open on %s", MODULE_NAME, params.nPort, psLogin->psServer->pHostIP);
2583:info:build           ^
2584:info:build pcanywhere.c:240:9pop3.c:310:27: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2585:info:build : warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2586:info:build           else if (strstr(bufReceive, "+OK") != NULL)
2587:info:build                           ^~~~~~~~~~
2588:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/string.h:89:26: note: passing argument to parameter '__big' here
2589:info:build         writeError(ERR_DEBUG_MODULE, "Connected");
2590:info:build         ^
2591:info:build char    *strstr(const char *__big, const char *__little);
2592:info:build                             ^
2593:info:build pop3.c:314:13: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2594:info:build             writeError(ERR_DEBUG_MODULE, "[%s] Starting TLS negotiation.", MODULE_NAME);
2595:info:build             ^
2596:info:build pop3.c:324:13: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2597:info:build             writeError(ERR_DEBUG_MODULE, "[%s] TLS negotiation not available.", MODULE_NAME);
2598:info:build             ^
2599:info:build pop3.c:346:14: warning: implicit declaration of function 'medusaCheckSocket' is invalid in C99 [-Wimplicit-function-declaration]
2600:info:build         if ( medusaCheckSocket(hSocket, psLogin->psServer->psAudit->iSocketWait) )
2601:info:build              ^
2602:info:build pop3.c:354:15: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2603:info:build               writeError(ERR_ERROR, "[%s] Error retrieving next credential set to test.", MODULE_NAME);
2604:info:build               ^
2605:info:build pop3.c:361:17: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2606:info:build                 writeError(ERR_DEBUG_MODULE, "[%s] No more available credential sets to test.", MODULE_NAME);
2607:info:build                 ^
2608:info:build pop3.c:366:17: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2609:info:build                 writeError(ERR_DEBUG_MODULE, "[%s] Starting testing for new user: %s.", MODULE_NAME, psCredSet->psUser->pUser);
2610:info:build                 ^
2611:info:build pop3.c:370:17: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2612:info:build                 writeError(ERR_DEBUG_MODULE, "[%s] Next credential set - user: %s password: %s", MODULE_NAME, psCredSet->psUser->pUser, psCredSet->pPass);
2613:info:build                 ^
2614:info:build pop3.c:376:11: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2615:info:build           writeError(ERR_NOTICE, "[%s] Socket is no longer valid. Server likely dropped connection. Establishing new session.", MODULE_NAME);
2616:info:build           ^
2617:info:build pop3.c:391:9: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2618:info:build         writeError(ERR_CRITICAL, "Unknown %s module state %d", MODULE_NAME, nState);
2619:info:build         ^
2620:info:build pcanywhere.c:298:3: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2621:info:build   writeError(ERR_DEBUG_MODULE, "pcaEncrypt [plaintext]: %s", plaintext);
2622:info:build   ^
2623:info:build pcanywhere.c:329:3: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2624:info:build   writeError(ERR_DEBUG_MODULE, "%s: Retrieving login prompt.", MODULE_NAME);
2625:info:build   ^
2626:info:build pcanywhere.c:330:27: warning: passing 'unsigned char [7]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2627:info:build   if (medusaSend(hSocket, bufSend1, nSendBufferSize1, 0) < 0)
2628:info:build                           ^~~~~~~~
2629:info:build ../../src/medusa-net.h:86:41: note: passing argument to parameter 'buf' here
2630:info:build extern int medusaSend(int socket, char *buf, int size, int options);
2631:info:build                                         ^
2632:info:build pcanywhere.c:344:14: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2633:info:build   bufReceive = medusaReceiveRaw(hSocket, &nReceiveBufferSize);
2634:info:build              ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2635:info:build pcanywhere.c:350:19: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2636:info:build   else if (strstr(bufReceive + 6, "Enter login name:"))
2637:info:build                   ^~~~~~~~~~~~~~
2638:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/string.h:89:26: note: passing argument to parameter '__big' here
2639:info:build char    *strstr(const char *__big, const char *__little);
2640:info:build                             ^
2641:info:build pcanywhere.c:359:13: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2642:info:build pop3.c:415:11: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2643:info:build   sprintf(bufSend, "CAPA\r\n");
2644:info:build           ^~~~~~~
2645:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf'
2646:info:build   __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
2647:info:build                            ^~~
2648:info:build pop3.c    strncpy(bufSend + 2, clogin, BUF_SIZE - 3);
2649:info:build             ^~~~~~~~~~~
2650:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/secure/_string.h:124:28: note: expanded from macro 'strncpy'
2651:info:build :417:43: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2652:info:build                 __builtin___strncpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest))
2653:info:build   if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0)
2654:info:build                                           ^~~~~~~
2655:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here
2656:info:build size_t   strlen(const char *__s);
2657:info:build                             ^
2658:info:build pop3.c:417:27: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2659:info:build   if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0)                                         ^~~~
2660:info:build                           ^~~~~~~
2661:info:build ../../src/medusa-net.h:86:41: note: passing argument to parameter 'buf' here
2662:info:build extern int medusaSend(int socket, char *buf, int size, int options);
2663:info:build                                         ^
2664:info:build pop3.c:419pcanywhere.c:362:19: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2665:info:build :5: warning:   else if (strstr(bufReceive + 6, "Enter user name:"))
2666:info:build                   ^~~~~~~~~~~~~~
2667:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/string.h:89:26implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2668:info:build     writeError(ERR_ERROR, "%s failed: medusaSend was not successful", MODULE_NAME);
2669:info:build     ^
2670:info:build : note: passing argument to parameter '__big' here
2671:info:build char    *strstr(const char *__big, const char *__little);
2672:info:build                             ^
2673:info:build pop3.c:426:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2674:info:build     writeError(ERR_ERROR, "[%s] Failed: Server did not respond that it supported any of the authentication types we handle (USER, LOGIN, and NTLM). Use the AUTH module option to force the use of an authentication type: %s", MODULE_NAME, bufReceive);
2675:info:build     ^
2676:info:build pcanywhere.c:373:15: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2677:info:build       strncpy(szTmp, szDomain, strlen(szDomain));
2678:info:build               ^~~~~
2679:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/secure/_string.h:124:28: note: expanded from macro 'strncpy'
2680:info:build pop3.c:429:20: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2681:info:build   else if ((strstr(bufReceive,"USER") != NULL))
2682:info:build                    ^~~~~~~~~~
2683:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/string.h:89:                __builtin___strncpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest))
2684:info:build                                          ^~~~
2685:info:build 26: note: passing argument to parameter '__big' here
2686:info:build char    *strstr(const char *__big, const char *__little);
2687:info:build                             ^
2688:info:build pcanywhere.c:375:15: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2689:info:build       strncpy(szTmp + strlen(szDomain) + 1, szLogin, strlen(szLogin));
2690:info:build               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
2691:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/secure/_string.h:124:28: note: expanded from macro 'strncpy'
2692:info:build pop3.c:431:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2693:info:build                 __builtin___strncpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest))
2694:info:build                                          ^~~~
2695:info:build     writeError(ERR_DEBUG_MODULE, "Server requested authentication type: USER (clear-text)");
2696:info:build     ^
2697:info:build pcanywhere.c:376:18: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2698:info:build       pcaEncrypt(szTmp, clogin, 0xAB, 1);
2699:info:build                  ^~~~~
2700:info:build pop3.cpcanywhere.c::434294::2023::  warningnote: : passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]passing argument to parameter 'plaintext' here
2701:info:build   else if ((strstr(bufReceive,"SASL") != NULL))
2702:info:build                    ^~~~~~~~~~
2703:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/string.h:89:26: void pcaEncrypt(char *plaintext, char *ciphertext, int key, int offset)note
2704:info:build :                       ^passing argument to parameter '__big' here
2705:info:build char    *strstr(const char *__big, const char *__little);
2706:info:build                             ^
2707:info:build pop3.c:436:17: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2708:info:build     if ((strstr(bufReceive,"PLAIN") != NULL))
2709:info:build                 ^~~~~~~~~~
2710:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/string.h:89:26: note: passing argument to parameter '__big' here
2711:info:build char    *strstr(const char *__big, const char *__little);
2712:info:build                             ^
2713:info:build pcanywhere.c:383:15: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2714:info:build pop3.c:438:7: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2715:info:build       strncpy(bufSend + 2, clogin, BUF_SIZE - 3);
2716:info:build               ^~~~~~~~~~~
2717:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/secure/_string.h:124:28: note: expanded from macro 'strncpy'
2718:info:build       writeError(ERR_DEBUG_MODULE, "Server requested authentication type: SASL PLAIN");
2719:info:build       ^
2720:info:build                 __builtin___strncpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest))
2721:info:build pop3.c                                         ^~~~
2722:info:build :441:22: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2723:info:build     else if ((strstr(bufReceive,"LOGIN") != NULL))
2724:info:build                      ^~~~~~~~~~
2725:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/string.h:89:26: note: passing argument to parameter '__big' here
2726:info:build char    *strstr(const char *__big, const char *__little);
2727:info:build                             ^
2728:info:build pop3.c:443:7: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2729:info:build pcanywhere.c:394:15: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2730:info:build       writeError(ERR_DEBUG_MODULE, "Server requested authentication type: SASL LOGIN");
2731:info:build       ^
2732:info:build       strncpy(bufSend + 3, clogin, BUF_SIZE - 4);
2733:info:build               ^~~~~~~~~~~
2734:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/secure/_string.h:124:28: note: expanded from macro 'strncpy'
2735:info:build pop3.c:446:22: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2736:info:build                 __builtin___strncpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest))
2737:info:build                                          ^~~~
2738:info:build     else if ((strstr(bufReceive,"NTLM") != NULL))
2739:info:build                      ^~~~~~~~~~
2740:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/string.h:89:26: note: passing argument to parameter '__big' here
2741:info:build char    *strstr(const char *__big, const char *__little);
2742:info:build                             ^
2743:info:build pop3.c:448:7: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2744:info:build       writeError(ERR_DEBUG_MODULE, "Server requested authentication type: SASL NTLM");
2745:info:build       ^
2746:info:build pop3.c:453:7: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2747:info:build       writeError(ERR_ERROR, "[%s] Server requested unsupported SASL method.", MODULE_NAME);
2748:info:build       ^
2749:info:build pcanywhere.c:417:27: warning: passing 'unsigned char [16384]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2750:info:build pop3.c:457:20: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2751:info:build   if (medusaSend(hSocket, bufSend, nSendBufferSize, 0) < 0)
2752:info:build                           ^~~~~~~
2753:info:build ../../src/medusa-net.h:86:41  else if ((strstr(bufReceive,"-ERR") != NULL))
2754:info:build                    ^~~~~~~~~~
2755:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/string.h:89:26: note: passing argument to parameter '__big' here
2756:info:build char    *strstr(const char *__big, const char *__little);
2757:info:build                             ^
2758:info:build pop3.c:459: note: passing argument to parameter 'buf' here
2759:info:build extern int medusaSend(int socket, char *buf, int size, int options);
2760:info:build                                         ^
2761:info:build :5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2762:info:build pcanywhere.c:    writeError(ERR_ERROR, "[%s] Server did not understand CAPA request. Defaulting to USER authentication type, use \"-m AUTH\" option to specify alternative method.", MODULE_NAME);427:14:
2763:info:build     ^warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2764:info:build   bufReceive = medusaReceiveRaw(hSocket, &nReceiveBufferSize);
2765:info:build              ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2766:info:build pcanywhere.c:433:19: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2767:info:build   else if (strstr(bufReceive + 6, "Enter password:"))
2768:info:build                   ^~~~~~~~~~~~~~
2769:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/string.h:89:26: note: passing argument to parameter '__big' here
2770:info:build char    *strstr(const char *__big, const char *__little);
2771:info:build                             ^
2772:info:build pcanywhere.c:450:11: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2773:info:build   strncpy(bufSend + 2, cpass, BUF_SIZE - 3);
2774:info:build           ^~~~~~~~~~~
2775:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/secure/_string.h:124:28: note: expanded from macro 'strncpy'
2776:info:build                 __builtin___strncpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest))
2777:info:build                                          ^~~~
2778:info:build pcanywhere.c:454:27: warning: passing 'unsigned char [16384]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2779:info:build   if (medusaSend(hSocket, bufSend, nSendBufferSize, 0) < 0)
2780:info:build                           ^~~~~~~
2781:info:build ../../src/medusa-net.h:86:41: note: passing argument to parameter 'buf' here
2782:info:build extern int medusaSend(int socket, char *buf, int size, int options);
2783:info:build                                         ^
2784:info:build pop3.c:473:3: pcanywhere.c:459:1:warning:  warningimplicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]:
2785:info:build control may reach end of non-void function [-Wreturn-type]
2786:info:build }
2787:info:build ^
2788:info:build   writeError(ERR_DEBUG_MODULE, "[%s] Initiating USER (clear-text) Authentication Attempt.", MODULE_NAME);
2789:info:build   ^
2790:info:build pop3.c:479:13: warning: passing 'unsigned char [300]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2791:info:build     sprintf(bufSend, "USER %.100s@%.150s\r\n", szLogin, _psSessionData->szDomain);
2792:info:build             ^~~~~~~
2793:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf'
2794:info:build   __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
2795:info:build                            ^~~
2796:info:build pop3.c:481:13: warning: passing 'unsigned char [300]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2797:info:build     sprintf(bufSend, "USER %.250s\r\n", szLogin);
2798:info:build             ^~~~~~~
2799:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf'
2800:info:build   __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
2801:info:build                            ^~~
2802:info:build pop3.c:483:43: warning: passing 'unsigned char [300]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2803:info:build   if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0)
2804:info:build                                           ^~~~~~~
2805:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here
2806:info:build size_t   strlen(const char *__s);
2807:info:build                             ^
2808:info:build pop3.c:483:27: warning: passing 'unsigned char [300]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2809:info:build   if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0)
2810:info:build                           ^~~~~~~
2811:info:build ../../src/medusa-net.h:86:41: note: passing argument to parameter 'buf' here
2812:info:build extern int medusaSend(int socket, char *buf, int size, int options);
2813:info:build                                         ^
2814:info:build pop3.c:494:19: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2815:info:build   else if (strstr(bufReceive, " signing off."))
2816:info:build                   ^~~~~~~~~~
2817:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/string.h:89:26: note: passing argument to parameter '__big' here
2818:info:build char    *strstr(const char *__big, const char *__little);
2819:info:build                             ^
2820:info:build pop3.c:500:19: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2821:info:build   else if (strstr(bufReceive, "ERR Cleartext login on this server requires the use of transport level security (SSL/TLS)"))
2822:info:build                   ^~~~~~~~~~
2823:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/string.h:89:26: note: passing argument to parameter '__big' here
2824:info:build char    *strstr(const char *__big, const char *__little);
2825:info:build                             ^
2826:info:build pop3.c:505:19: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2827:info:build   else if (strstr(bufReceive, "ERR Clear text passwords have been disabled for this protocol."))
2828:info:build                   ^~~~~~~~~~
2829:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/string.h:89:26: note: passing argument to parameter '__big' here
2830:info:build char    *strstr(const char *__big, const char *__little);
2831:info:build                             ^
2832:info:build pop3.c:513:11: warning: passing 'unsigned char [300]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2833:info:build   sprintf(bufSend, "PASS %.250s\r\n", szPassword);
2834:info:build           ^~~~~~~
2835:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf'
2836:info:build   __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
2837:info:build                            ^~~
2838:info:build pop3.c:515:43: warning: passing 'unsigned char [300]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2839:info:build   if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0)
2840:info:build                                           ^~~~~~~
2841:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here
2842:info:build size_t   strlen(const char *__s);
2843:info:build                             ^
2844:info:build pop3.c:515:27: warning: passing 'unsigned char [300]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2845:info:build   if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0)
2846:info:build                           ^~~~~~~
2847:info:build ../../src/medusa-net.h:86:41: note: passing argument to parameter 'buf' here
2848:info:build pcanywhere.c:471:3: warningextern int medusaSend(int socket, char *buf, int size, int options);
2849:info:build                                         ^
2850:info:build : implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2851:info:build   writeError(ERR_DEBUG_MODULE, "%s: Checking encryption level.", MODULE_NAME);
2852:info:build   ^
2853:info:build pcanywhere.c:472:27: warning: passing 'unsigned char [14]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2854:info:build   if (medusaSend(hSocket, bufSend, nSendBufferSize, 0) < 0)
2855:info:build                           ^~~~~~~
2856:info:build ../../src/medusa-net.h:86:41: note: passing argument to parameter 'buf' here
2857:info:build extern int medusaSend(int socket, char *buf, int size, int options);
2858:info:build                                         ^
2859:info:build pcanywhere.c:479:14: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2860:info:build pop3.c:541:3: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2861:info:build   bufReceive = medusaReceiveRaw(hSocket, &nReceiveBufferSize);
2862:info:build   writeError(ERR_DEBUG_MODULE, "[%s] Initiating PLAIN Authentication Attempt.", MODULE_NAME);
2863:info:build   ^
2864:info:build              ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2865:info:build pcanywhere.c:485pop3.c:547:11: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2866:info:build   strncpy(szTmpBuf, szLogin, strlen(szLogin));
2867:info:build           ^~~~~~~~
2868:info:build :/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/secure/_string.h:124:28: note: expanded from macro 'strncpy'
2869:info:build 19:                __builtin___strncpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest))
2870:info:build                                          ^~~~
2871:info:build  warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2872:info:build   else if (strstr(bufReceive + 28, "Host is denying connection"))pop3.c:548:
2873:info:build 11: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2874:info:build                   ^~~~~~~~~~~~~~~  strncpy(szTmpBuf + strlen(szLogin) + 1, szLogin, strlen(szLogin));
2875:info:build           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2876:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/secure/_string.h:124:28: note: expanded from macro 'strncpy'
2877:info:build                 __builtin___strncpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest))
2878:info:build                                          ^~~~
2879:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/string.h:89:26: note: passing argument to parameter '__big' here
2880:info:build pop3.c:549:11: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2881:info:build   strncpy(szTmpBuf + strlen(szLogin) + 1 + strlen(szLogin) + 1, szPassword, strlen(szPassword));
2882:info:build           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2883:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/secure/_string.h:124:28: note: expanded from macro 'strncpy'
2884:info:build char    *strstr(const char *__big, const char *__little);
2885:info:build                 __builtin___strncpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest))
2886:info:build                                          ^~~~
2887:info:build                             ^
2888:info:build pop3.c:553:17: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2889:info:build   base64_encode(szTmpBuf, nSendBufferSize, szTmpBuf64);
2890:info:build                 ^~~~~~~~
2891:info:build ./../medusa-utils.h:29:38: note: passing argument to parameter 'str' here
2892:info:build extern int base64_encode(const char *str, int length, char *b64store);
2893:info:build                                      ^
2894:info:build pop3.c:553:44: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2895:info:build   base64_encode(szTmpBuf, nSendBufferSize, szTmpBuf64);
2896:info:build                                            ^~~~~~~~~~
2897:info:build ./../medusa-utils.h:29:61: note: passing argument to parameter 'b64store' here
2898:info:build extern int base64_encode(const char *str, int length, char *b64store);
2899:info:build                                                             ^
2900:info:build pop3.c:556:32: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2901:info:build   bufSend = malloc(11 + strlen(szTmpBuf64) + 2 + 1);
2902:info:build                                ^~~~~~~~~~
2903:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here
2904:info:build size_t   strlen(const char *__s);
2905:info:build                             ^
2906:info:build pop3.c:557:34: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2907:info:build   memset(bufSend, 0, 11 + strlen(szTmpBuf64) + 2 + 1);
2908:info:build                                  ^~~~~~~~~~
2909:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/secure/_string.h:76:33: note: expanded from macro 'memset'
2910:info:build                 __builtin___memset_chk (dest, __VA_ARGS__, __darwin_obsz0 (dest))
2911:info:build                                               ^~~~~~~~~~~
2912:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here
2913:info:build size_t   strlen(const char *__s);
2914:info:build                             ^
2915:info:build pop3.c:559:11: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2916:info:build   sprintf(bufSend, "AUTH PLAIN %s\r\n", szTmpBuf64);
2917:info:build           ^~~~~~~
2918:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf'
2919:info:build   __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
2920:info:build                            ^~~
2921:info:build pop3.c:562:43: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2922:info:build   if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0)
2923:info:build                                           ^~~~~~~
2924:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here
2925:info:build size_t   strlen(const char *__s);
2926:info:build                             ^
2927:info:build pop3.c:562:27: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2928:info:build pcanywhere.c:508:3: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2929:info:build   if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0)
2930:info:build                           ^~~~~~~
2931:info:build ../../src/medusa-net.h:86:41: note: passing argument to parameter 'buf' here
2932:info:build   writeError(ERR_DEBUG_MODULE, "%s: Retrieving RCA banner.", MODULE_NAME);
2933:info:build   ^
2934:info:build extern int medusaSend(int socket, char *buf, int size, int options);
2935:info:build                                         ^
2936:info:build pcanywhere.c:509:27: warning: passing 'unsigned char [4]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2937:info:build   if (medusaSend(hSocket, bufSend1, nSendBufferSize1, 0) < 0)
2938:info:build                           ^~~~~~~~
2939:info:build ../../src/medusa-net.h:86:41: note: passing argument to parameter 'buf' here
2940:info:build extern int medusaSend(int socket, char *buf, int size, int options);
2941:info:build                                         ^
2942:info:build pcanywhere.c:516:14: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2943:info:build   bufReceive = medusaReceiveRaw(hSocket, &nReceiveBufferSize);
2944:info:build              ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2945:info:build pcanywhere.c:523:19: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2946:info:build   else if (strstr(bufReceive + 11, "Please press <Enter>..."))
2947:info:build                   ^~~~~~~~~~~~~~~
2948:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/string.h:89:26: note: passing argument to parameter '__big' here
2949:info:build char    *strstr(const char *__big, const char *__little);
2950:info:build                             ^
2951:info:build pcanywhere.c:540:27: warning: passing 'unsigned char [3]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2952:info:build   if (medusaSend(hSocket, bufSend2, nSendBufferSize2, 0) < 0)
2953:info:build                           ^~~~~~~~
2954:info:build ../../src/medusa-net.h:86:41: note: passing argument to parameter 'buf' here
2955:info:build extern int medusaSend(int socket, char *buf, int size, int options);
2956:info:build                                         ^
2957:info:build pcanywhere.c:547:14: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2958:info:build   bufReceive = medusaReceiveRaw(hSocket, &nReceiveBufferSize);
2959:info:build              ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2960:info:build pop3.c:590:3: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2961:info:build   writeError(ERR_DEBUG_MODULE, "[%s] Initiating LOGIN Authentication Attempt.", MODULE_NAME);
2962:info:build   ^
2963:info:build pop3.c:595:11: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2964:info:build   sprintf(bufSend, "AUTH LOGIN\r\n");
2965:info:build           ^~~~~~~
2966:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf'
2967:info:build   __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
2968:info:build                            ^~~
2969:info:build pop3.c:597:43: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2970:info:build   if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0)
2971:info:build                                           ^~~~~~~
2972:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here
2973:info:build size_t   strlen(const char *__s);
2974:info:build                             ^
2975:info:build pop3.c:597:27: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2976:info:build   if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0)
2977:info:build                           ^~~~~~~
2978:info:build ../../src/medusa-net.h:86:41: note: passing argument to parameter 'buf' here
2979:info:build extern int medusaSend(int socket, char *buf, int size, int options);
2980:info:build                                         ^
2981:info:build pop3.c:610:19: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2982:info:build   else if (strstr(bufReceive,"-ERR The specified authentication package is not supported.") != NULL)
2983:info:build                   ^~~~~~~~~~
2984:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/string.h:89:26: note: passing argument to parameter '__big' here
2985:info:build char    *strstr(const char *__big, const char *__little);
2986:info:build                             ^
2987:info:build pop3.c:616:28: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2988:info:build   szTmpBuf = ((char*)index(bufReceive, '\r'));
2989:info:build                            ^~~~~~~~~~
2990:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/strings.h:73:25: note: passing argument to parameter here
2991:info:build char    *index(const char *, int) __POSIX_C_DEPRECATED(200112L);
2992:info:build                            ^
2993:info:build pop3.c:616:12: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2994:info:build   szTmpBuf = ((char*)index(bufReceive, '\r'));
2995:info:build            ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2996:info:build pop3.c:618:28: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2997:info:build   szPrompt = malloc(strlen(bufReceive + 2) + 1);
2998:info:build                            ^~~~~~~~~~~~~~
2999:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/string.h:82:28pcanywhere.c:566:3: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
3000:info:build : note: passing argument to parameter '__s' here
3001:info:build   writeError(ERR_DEBUG_MODULE, "%s: Initializing PcAnywhere connection.", MODULE_NAME);
3002:info:build   ^
3003:info:build size_t   strlen(const char *__s);
3004:info:build                             ^
3005:info:build pop3.c:619:30: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3006:info:build   memset(szPrompt, 0, strlen(bufReceive + 2) + 1);
3007:info:build                              ^~~~~~~~~~~~~~
3008:info:build pcanywhere.c:600:31: warning: passing 'unsigned char [17]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3009:info:build   iRet = pcaUserAuth(hSocket, _psSessionData->domain, szLogin, szPassword);
3010:info:build                               ^~~~~~~~~~~~~~~~~~~~~~
3011:info:build pcanywhere.c:311:36: note: passing argument to parameter 'szDomain' here
3012:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/secure/_string.h:int pcaUserAuth(int hSocket, char* szDomain, char* szLogin, char* szPassword)76:33: note
3013:info:build                                    ^
3014:info:build : expanded from macro 'memset'
3015:info:build                 __builtin___memset_chk (dest, __VA_ARGS__, __darwin_obsz0 (dest))
3016:info:build                                               ^~~~~~~~~~~
3017:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here
3018:info:build size_t   strlen(const char *__s);
3019:info:build                             ^
3020:info:build pop3.c:621:17: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3021:info:build   base64_decode(bufReceive + 2, szPrompt);
3022:info:build                 ^~~~~~~~~~~~~~
3023:info:build ./../medusa-utils.h:30:38: note: passing argument to parameter 'base64' here
3024:info:build extern int base64_decode(const char *base64, char *to);
3025:info:build                                      ^
3026:info:build pop3.c:621:33: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3027:info:build   base64_decode(bufReceive + 2, szPrompt);
3028:info:build                                 ^~~~~~~~
3029:info:build ./../medusa-utils.h:30:52: note: passing argument to parameter 'to' here
3030:info:build pcanywhere.c:610:extern int base64_decode(const char *base64, char *to);14
3031:info:build :                                                   ^
3032:info:build  warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3033:info:build   bufReceive = medusaReceiveRaw(hSocket, &nReceiveBufferSize);
3034:info:build              ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3035:info:build pcanywhere.c:618:19: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3036:info:build   else if (strstr(bufReceive + 5, "Invalid login") || strstr(bufReceive + 6, "Enter password"))
3037:info:build                   ^~~~~~~~~~~~~~
3038:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/string.hpop3.c:632:43::89:26: note: passing argument to parameter '__big' here
3039:info:build char    *strstr(const char *__big, const char *__little);
3040:info:build                             ^
3041:info:build pcanywhere.c:618:62: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3042:info:build  warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3043:info:build   else if (strstr(bufReceive + 5, "Invalid login") || strstr(bufReceive + 6, "Enter password"))
3044:info:build                                                              ^~~~~~~~~~~~~~
3045:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/string.h:89:26: note: passing argument to parameter '__big' here
3046:info:build   base64_encode(szLogin, strlen(szLogin), bufSend);
3047:info:build                                           ^~~~~~~
3048:info:build ./../medusa-utils.h:29:61: note: passing argument to parameter 'b64store' here
3049:info:build extern int base64_encode(const char *str, int length, char *b64store);
3050:info:build                                                             ^
3051:info:build char    *strstr(const char *__big, const char *__little);
3052:info:build                             ^
3053:info:build pop3.c:633:11: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3054:info:build   strncat(bufSend, "\r\n", 2);   
3055:info:build           ^~~~~~~
3056:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/secure/_string.h:139:28: note: expanded from macro 'strncat'
3057:info:build                 __builtin___strncat_chk (dest, __VA_ARGS__, __darwin_obsz (dest))
3058:info:build                                          ^~~~
3059:info:build pcanywhere.c:633:3: warning: implicit declaration of function 'setPassResult' is invalid in C99 [-Wimplicit-function-declaration]
3060:info:build pop3.c:635:43:   setPassResult((*psLogin), szPassword);
3061:info:build   ^
3062:info:build warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3063:info:build   if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0)
3064:info:build                                           ^~~~~~~
3065:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here
3066:info:build size_t   strlen(const char *__s);
3067:info:build                             ^
3068:info:build pop3.c:635:27: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3069:info:build   if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0)
3070:info:build                           ^~~~~~~
3071:info:build ../../src/medusa-net.h:86:41: note: passing argument to parameter 'buf' here
3072:info:build extern int medusaSend(int socket, char *buf, int size, int options);
3073:info:build                                         ^
3074:info:build pop3.c:648:28: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3075:info:build   szTmpBuf = ((char*)index(bufReceive, '\r'));
3076:info:build                            ^~~~~~~~~~
3077:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/strings.h:73:25: note: passing argument to parameter here
3078:info:build char    *index(const char *, int) __POSIX_C_DEPRECATED(200112L);
3079:info:build                            ^
3080:info:build pop3.c:648:12: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3081:info:build   szTmpBuf = ((char*)index(bufReceive, '\r'));
3082:info:build            ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3083:info:build pop3.c:650:28: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3084:info:build   szPrompt = malloc(strlen(bufReceive + 2) + 1);
3085:info:build                            ^~~~~~~~~~~~~~
3086:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here
3087:info:build size_t   strlen(const char *__s);
3088:info:build                             ^
3089:info:build pop3.c:651:30: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3090:info:build   memset(szPrompt, 0, strlen(bufReceive + 2) + 1);
3091:info:build                              ^~~~~~~~~~~~~~
3092:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/secure/_string.h:76:33: note: expanded from macro 'memset'
3093:info:build                 __builtin___memset_chk (dest, __VA_ARGS__, __darwin_obsz0 (dest))
3094:info:build                                               ^~~~~~~~~~~
3095:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here
3096:info:build size_t   strlen(const char *__s);
3097:info:build                             ^
3098:info:build pop3.c:653:17: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3099:info:build   base64_decode(bufReceive + 2, szPrompt);
3100:info:build                 ^~~~~~~~~~~~~~
3101:info:build ./../medusa-utils.h:30:38: note: passing argument to parameter 'base64' here
3102:info:build extern int base64_decode(const char *base64, char *to);
3103:info:build                                      ^
3104:info:build pop3.c:653:33: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3105:info:build   base64_decode(bufReceive + 2, szPrompt);
3106:info:build                                 ^~~~~~~~
3107:info:build ./../medusa-utils.h:30:52: note: passing argument to parameter 'to' here
3108:info:build extern int base64_decode(const char *base64, char *to);
3109:info:build                                                    ^
3110:info:build pop3.c:664:49: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3111:info:build   base64_encode(szPassword, strlen(szPassword), bufSend);
3112:info:build                                                 ^~~~~~~
3113:info:build ./../medusa-utils.h:29:61: note: passing argument to parameter 'b64store' here
3114:info:build extern int base64_encode(const char *str, int length, char *b64store);
3115:info:build                                                             ^
3116:info:build pop3.c:665:11: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3117:info:build   strncat(bufSend, "\r\n", 2);   
3118:info:build           ^~~~~~~
3119:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/secure/_string.h:139:28: note: expanded from macro 'strncat'
3120:info:build                 __builtin___strncat_chk (dest, __VA_ARGS__, __darwin_obsz (dest))
3121:info:build                                          ^~~~
3122:info:build pop3.c:667:43: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3123:info:build   if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0)
3124:info:build                                           ^~~~~~~
3125:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here
3126:info:build size_t   strlen(const char *__s);
3127:info:build                             ^
3128:info:build pop3.c:667:27: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3129:info:build   if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0)
3130:info:build                           ^~~~~~~
3131:info:build ../../src/medusa-net.h:86:41: note: passing argument to parameter 'buf' here
3132:info:build extern int medusaSend(int socket, char *buf, int size, int options);
3133:info:build                                         ^
3134:info:build pop3.c:693:3: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
3135:info:build   writeError(ERR_DEBUG_MODULE, "[%s] Initiating NTLM Authentication Attempt.", MODULE_NAME);
3136:info:build   ^
3137:info:build pop3.c:698:11: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3138:info:build   sprintf(bufSend, "AUTH NTLM\r\n");
3139:info:build           ^~~~~~~
3140:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf'
3141:info:build   __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
3142:info:build                            ^~~
3143:info:build pop3.c:700:43: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3144:info:build   if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0)
3145:info:build                                           ^~~~~~~
3146:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here
3147:info:build size_t   strlen(const char *__s);
3148:info:build                             ^
3149:info:build pop3.c:700:27: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3150:info:build   if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0)
3151:info:build                           ^~~~~~~
3152:info:build ../../src/medusa-net.h:86:41: note: passing argument to parameter 'buf' here
3153:info:build extern int medusaSend(int socket, char *buf, int size, int options);
3154:info:build                                         ^
3155:info:build pop3.c:721:56: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3156:info:build   base64_encode((char *)&sTmpReq, SmbLength(&sTmpReq), szTmpBuf64);
3157:info:build                                                        ^~~~~~~~~~
3158:info:build ./../medusa-utils.h:29:61: note: passing argument to parameter 'b64store' here
3159:info:build extern int base64_encode(const char *str, int length, char *b64store);
3160:info:build                                                             ^
3161:info:build pop3.c:724:28: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3162:info:build   nSendBufferSize = strlen(szTmpBuf64) + 2;
3163:info:build                            ^~~~~~~~~~
3164:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here
3165:info:build size_t   strlen(const char *__s);
3166:info:build                             ^
3167:info:build pop3.c:727:11: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3168:info:build   sprintf(bufSend, "%s\r\n", szTmpBuf64);
3169:info:build           ^~~~~~~
3170:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf'
3171:info:build   __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
3172:info:build                            ^~~
3173:info:build pop3.c:731:43: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3174:info:build   if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0)
3175:info:build                                           ^~~~~~~
3176:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here
3177:info:build size_t   strlen(const char *__s);
3178:info:build                             ^
3179:info:build pop3.c:731:27: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3180:info:build   if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0)
3181:info:build                           ^~~~~~~
3182:info:build ../../src/medusa-net.h:86:41: note: passing argument to parameter 'buf' here
3183:info:build extern int medusaSend(int socket, char *buf, int size, int options);
3184:info:build                                         ^
3185:info:build pop3.c:747:28: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3186:info:build   szTmpBuf = ((char*)index(bufReceive, '\r'));
3187:info:build                            ^~~~~~~~~~
3188:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/strings.h:73:25: note: passing argument to parameter here
3189:info:build char    *index(const char *, int) __POSIX_C_DEPRECATED(200112L);
3190:info:build                            ^
3191:info:build pop3.c:747:12: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3192:info:build   szTmpBuf = ((char*)index(bufReceive, '\r'));
3193:info:build            ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3194:info:build pop3.c:751:17: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3195:info:build   base64_decode(bufReceive + 2, (char *)&sTmpChall);
3196:info:build                 ^~~~~~~~~~~~~~
3197:info:build ./../medusa-utils.h:30:38: note: passing argument to parameter 'base64' here
3198:info:build extern int base64_decode(const char *base64, char *to);
3199:info:build                                      ^
3200:info:build pop3.c:761:58: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3201:info:build   base64_encode((char *)&sTmpResp, SmbLength(&sTmpResp), szTmpBuf64);
3202:info:build                                                          ^~~~~~~~~~
3203:info:build ./../medusa-utils.h:29:61: note: passing argument to parameter 'b64store' here
3204:info:build extern int base64_encode(const char *str, int length, char *b64store);
3205:info:build                                                             ^
3206:info:build pop3.c:764:28: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3207:info:build   nSendBufferSize = strlen(szTmpBuf64) + 2;
3208:info:build                            ^~~~~~~~~~
3209:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here
3210:info:build size_t   strlen(const char *__s);
3211:info:build                             ^
3212:info:build pop3.c:767:11: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3213:info:build   sprintf(bufSend, "%s\r\n", szTmpBuf64);
3214:info:build           ^~~~~~~
3215:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf'
3216:info:build   __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
3217:info:build                            ^~~
3218:info:build pop3.c:769:27: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3219:info:build   if (medusaSend(hSocket, bufSend, nSendBufferSize, 0) < 0)
3220:info:build                           ^~~~~~~
3221:info:build ../../src/medusa-net.h:86:41: note: passing argument to parameter 'buf' here
3222:info:build extern int medusaSend(int socket, char *buf, int size, int options);
3223:info:build                                         ^
3224:info:build pop3.c:793:7: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
3225:info:build       writeError(ERR_DEBUG_MODULE, "[%s] Sending USER (clear-text) Authentication.", MODULE_NAME);
3226:info:build       ^
3227:info:build pop3.c:814:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
3228:info:build     writeError(ERR_ERROR, "[%s] Failed during sending of authentication data.", MODULE_NAME);
3229:info:build     ^
3230:info:build pop3.c:816:5: warning: implicit declaration of function 'setPassResult' is invalid in C99 [-Wimplicit-function-declaration]
3231:info:build     setPassResult(*psLogin, szPassword);
3232:info:build     ^
3233:info:build pop3.c:820:3: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
3234:info:build   writeError(ERR_DEBUG_MODULE, "[%s] Retrieving server response.", MODULE_NAME);
3235:info:build   ^
3236:info:build pop3.c:832:10: warning: implicit declaration of function 'medusaCheckSocket' is invalid in C99 [-Wimplicit-function-declaration]
3237:info:build     if ( medusaCheckSocket(hSocket, (*psLogin)->psServer->psAudit->iSocketWait) )
3238:info:build          ^
3239:info:build pop3.c:851:19: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3240:info:build   else if (strstr(bufReceive,"-ERR The specified authentication package is not supported.") != NULL)
3241:info:build                   ^~~~~~~~~~
3242:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/string.h:89:26: note: passing argument to parameter '__big' here
3243:info:build char    *strstr(const char *__big, const char *__little);
3244:info:build                             ^
3245:info:build pop3.c:865:18: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3246:info:build       if (strstr(bufReceive, "CPF2204"))
3247:info:build                  ^~~~~~~~~~
3248:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/string.h:89:26: note: passing argument to parameter '__big' here
3249:info:build char    *strstr(const char *__big, const char *__little);
3250:info:build                             ^
3251:info:build pop3.c:871:23: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3252:info:build       else if (strstr(bufReceive, "CPF22E2"))
3253:info:build                       ^~~~~~~~~~
3254:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/string.h:89:26: note: passing argument to parameter '__big' here
3255:info:build char    *strstr(const char *__big, const char *__little);
3256:info:build                             ^
3257:info:build pop3.c:877:23: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3258:info:build       else if (strstr(bufReceive, "CPF22E3"))
3259:info:build                       ^~~~~~~~~~
3260:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/string.h:89:26: note: passing argument to parameter '__big' here
3261:info:build char    *strstr(const char *__big, const char *__little);
3262:info:build                             ^
3263:info:build pop3.c:883:23: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3264:info:build       else if (strstr(bufReceive, "CPF22E4"))
3265:info:build                       ^~~~~~~~~~
3266:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/string.h:89:26: note: passing argument to parameter '__big' here
3267:info:build char    *strstr(const char *__big, const char *__little);
3268:info:build                             ^
3269:info:build pop3.c:889:23: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3270:info:build       else if (strstr(bufReceive, "CPF22E5"))
3271:info:build                       ^~~~~~~~~~
3272:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/string.h:89:26: note: passing argument to parameter '__big' here
3273:info:build char    *strstr(const char *__big, const char *__little);
3274:info:build                             ^
3275:info:build pop3.c:895:23: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3276:info:build       else if (strstr(bufReceive, "-ERR Logon attempt invalid"))
3277:info:build                       ^~~~~~~~~~
3278:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/string.h:89:26: note: passing argument to parameter '__big' here
3279:info:build char    *strstr(const char *__big, const char *__little);
3280:info:build                             ^
3281:info:build pop3.c:918:3: warning: implicit declaration of function 'setPassResult' is invalid in C99 [-Wimplicit-function-declaration]
3282:info:build   setPassResult((*psLogin), szPassword);
3283:info:build   ^
3284:info:build 61 warnings generated.
3285:info:build mv -f .deps/mysql.Tpo .deps/mysql.Po
3286:info:build /usr/bin/clang -DHAVE_CONFIG_H -I. -I../.. -I../../src   -I/opt/local/include -isysroot/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -g -DDEBUG -fPIC -I/usr/include -I/usr/local/include -I/usr/local/ssl/include -I/usr/include/postgresql -I/usr/include/pgsql -I/usr/include/afpfs-ng -I/opt/local/include  -I/opt/local/include/apr-1   -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -DDARWIN_10  -pipe -Os -isysroot/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -arch x86_64 -MT smbnt.o -MD -MP -MF .deps/smbnt.Tpo -c -o smbnt.o smbnt.c
3287:info:build 61 warnings generated.
3288:info:build rexec.c:80:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
3289:info:build     writeError(ERR_ERROR, "%s reports an error in summaryUsage() : ppszSummary must be NULL when called", MODULE_NAME);
3290:info:build     ^
3291:info:build rexec.c:87:3: warning: implicit declaration of function 'writeVerbose' is invalid in C99 [-Wimplicit-function-declaration]
3292:info:build   writeVerbose(VB_NONE, "%s (%s) %s :: %s\n", MODULE_NAME, MODULE_VERSION, MODULE_AUTHOR, MODULE_SUMMARY_USAGE);
3293:info:build   ^
3294:info:build rexec.c:98:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
3295:info:build     writeError(ERR_ERROR, "%s is expecting 0 parameters, but it was passed %d", MODULE_NAME, argc);
3296:info:build     ^
3297:info:build rexec.c:102:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
3298:info:build     writeError(ERR_DEBUG_MODULE, "OMG teh %s module has been called!!", MODULE_NAME);
3299:info:build     ^
3300:info:build rexec.c:95:20: warning: result of comparison of constant 3 with boolean expression is always true [-Wtautological-constant-out-of-range-compare]
3301:info:build   if ( !(0 <= argc <= 3) )
3302:info:build          ~~~~~~~~~ ^  ~
3303:info:build rexec.c:120:7: warning: implicit declaration of function 'getNextCredSet' is invalid in C99 [-Wimplicit-function-declaration]
3304:info:build   if (getNextCredSet(psLogin, psCredSet) == FAILURE)
3305:info:build       ^
3306:info:build rexec.c:122:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
3307:info:build     writeError(ERR_ERROR, "[%s] Error retrieving next credential set to test.", MODULE_NAME);
3308:info:build     ^
3309:info:build rexec.c:127:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
3310:info:build     writeError(ERR_DEBUG_MODULE, "[%s] module started for host: %s user: %s", MODULE_NAME, psLogin->psServer->pHostIP, psCredSet->psUser->pUser);
3311:info:build     ^
3312:info:build rexec.c:131:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
3313:info:build     writeError(ERR_DEBUG_MODULE, "[%s] module started for host: %s - no more available users to test.", MODULE_NAME);
3314:info:build     ^
3315:info:build rexec.c:139:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
3316:info:build     writeError(ERR_ERROR, "[%s] module asked for REXEC with SSL. Don't know if such a thing exists...\n");
3317:info:build     ^
3318:info:build rexec.c:229:11rlogin.c::79: warning5mv -f .deps/nntp.Tpo .deps/nntp.Po
3319:info:build : :passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3320:info:build warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
3321:info:build   strncpy(bufSend+1, szLogin, strlen(szLogin));
3322:info:build           ^~~~~~~~~
3323:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/secure/_string.h:124:28: note: expanded from macro 'strncpy'
3324:info:build                 __builtin___strncpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest))
3325:info:build                                          ^~~~
3326:info:build     writeError(ERR_ERROR, "%s reports an error in summaryUsage() : ppszSummary must be NULL when called", MODULE_NAME);
3327:info:build     ^
3328:info:build rexec.c:231:11: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3329:info:build   strncpy(bufSend+2+strlen(szLogin), szPassword, strlen(szPassword));
3330:info:build           ^~~~~~~~~~~~~~~~~~~~~~~~~
3331:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/secure/_string.h:124:28: note: expanded from macro 'strncpy'
3332:info:build                 __builtin___strncpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest))
3333:info:build                                          ^~~~
3334:info:build rexec.c:233:11: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3335:info:build   strncpy(bufSend+1+strlen(szLogin)+1+strlen(szPassword)+1, "id", 3);
3336:info:build           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3337:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/secure/_string.h:124:28: note: expanded from macro 'strncpy'
3338:info:build                 __builtin___strncpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest))
3339:info:build                                          ^~~~
3340:info:build rexec.c:236:27: warning: passing 'unsigned char [300]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3341:info:build   if (medusaSend(hSocket, bufSend, strlen(szLogin)+1+strlen(szPassword)+1+4 , 0) < 0)
3342:info:build                           ^~~~~~~
3343:info:build ../../src/medusa-net.h:86:41: note: passing argument to parameter 'buf' here
3344:info:build extern int medusaSend(int socket, char *buf, int size, int options);
3345:info:build                                         ^
3346:info:build rexec.c:238:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
3347:info:build     writeError(ERR_ERROR, "%s failed: medusaSend was not successful", MODULE_NAME);
3348:info:build     ^
3349:info:build rlogin.c:86:3: warning: implicit declaration of function 'writeVerbose' is invalid in C99 [-Wimplicit-function-declaration]
3350:info:build rexec.c:242:14: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3351:info:build   writeVerbose(VB_NONE, "%s (%s) %s :: %s\n", MODULE_NAME, MODULE_VERSION, MODULE_AUTHOR, MODULE_SUMMARY_USAGE);
3352:info:build   ^
3353:info:build   bufReceive = medusaReceiveRaw(hSocket, &nReceiveBufferSize);
3354:info:build              ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3355:info:build rexec.c:245:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
3356:info:build     writeError(ERR_ERROR, "%s failed: medusaReceive returned no data.", MODULE_NAME);
3357:info:build     ^
3358:info:build rexec.c:248:19: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3359:info:build   else if (strstr(bufReceive,"Login incorrect") != NULL)
3360:info:build                   ^~~~~~~~~~
3361:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/string.h:89:26: note: passing argument to parameter '__big' here
3362:info:build char    *strstr(const char *__big, const char *__little);
3363:info:build                             ^
3364:info:build rlogin.c:97:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
3365:info:build rexec.c:250:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
3366:info:build     writeError(ERR_DEBUG_MODULE, "%s : Login attempt failed up here.", MODULE_NAME);
3367:info:build     ^
3368:info:build     writeError(ERR_ERROR, "%s is expecting 0 parameters, but it was passed %d", MODULE_NAME, argc);
3369:info:build     ^
3370:info:build rlogin.c:101:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
3371:info:build     writeError(ERR_DEBUG_MODULE, "OMG teh %s module has been called!!", MODULE_NAME);
3372:info:build     ^
3373:info:build rexec.c:256:5: warning: implicit declaration of function 'setPassResult' is invalid in C99 [-Wimplicit-function-declaration]
3374:info:build     setPassResult((*psLogin), szPassword);
3375:info:build     ^
3376:info:build rlogin.c:94:20: warning: result of comparison of constant 3 with boolean expression is always true [-Wtautological-constant-out-of-range-compare]
3377:info:build rexec.c  if ( !(0 <= argc <= 3) ):
3378:info:build 259         ~~~~~~~~~ ^  ~:
3379:info:build 14: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3380:info:build   bufReceive = medusaReceiveRaw(hSocket, &nReceiveBufferSize);
3381:info:build              ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3382:info:build rexec.c:262:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
3383:info:build     writeError(ERR_ERROR, "%s failed: medusaReceive returned no data.", MODULE_NAME);
3384:info:build     ^
3385:info:build rexec.c:265:19: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3386:info:build   else if (strstr(bufReceive,"uid") != NULL)
3387:info:build                   ^~~~~~~~~~
3388:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/string.h:89:26: note: passing argument to parameter '__big' here
3389:info:build char    *strstr(const char *__big, const char *__little);
3390:info:build                             ^
3391:info:build rexec.c:267:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
3392:info:build     writeError(ERR_DEBUG_MODULE, "%s : Login attempt successful.", MODULE_NAME);
3393:info:build     ^
3394:info:build rexec.c:271:19: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3395:info:build   else if (strstr(bufReceive,"Command ID in library") != NULL)
3396:info:build                   ^~~~~~~~~~
3397:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/string.h:89:26: note: passing argument to parameter '__big' here
3398:info:build char    *strstr(const char *__big, const char *__little);
3399:info:build                             ^
3400:info:build rexec.c:273:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
3401:info:build     writeError(ERR_DEBUG_MODULE, "%s : AS/400 Login attempt successful.", MODULE_NAME);
3402:info:build     ^
3403:info:build rexec.c:279:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
3404:info:build     writeError(ERR_DEBUG_MODULE, "%s : Login attempt failed down here.", MODULE_NAME);
3405:info:build     ^
3406:info:build rexec.c:285:3: warning: implicit declaration of function 'setPassResult' is invalid in C99 [-Wimplicit-function-declaration]
3407:info:build   setPassResult((*psLogin), szPassword);
3408:info:build   ^
3409:info:build rlogin.c:119:7: warning: implicit declaration of function 'getNextCredSet' is invalid in C99 [-Wimplicit-function-declaration]
3410:info:build   if (getNextCredSet(psLogin, psCredSet) == FAILURE)
3411:info:build       ^
3412:info:build rlogin.c:121:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
3413:info:build     writeError(ERR_ERROR, "[%s] Error retrieving next credential set to test.", MODULE_NAME);
3414:info:build     ^
3415:info:build rlogin.c:126:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
3416:info:build     writeError(ERR_DEBUG_MODULE, "[%s] module started for host: %s user: %s", MODULE_NAME, psLogin->psServer->pHostIP, psCredSet->psUser->pUser);
3417:info:build     ^
3418:info:build rlogin.c:130:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
3419:info:build     writeError(ERR_DEBUG_MODULE, "[%s] module started for host: %s - no more available users to test.", MODULE_NAME);
3420:info:build     ^
3421:info:build rlogin.c:138:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
3422:info:build     writeError(ERR_DEBUG_MODULE, "[%s] module asked for RLOGIN/SSL. Don't know if such a thing exists...\n");
3423:info:build     ^
3424:info:build rlogin.c:228:11: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3425:info:build   strncpy(bufSend+1, szLogin, strlen(szLogin));
3426:info:build           ^~~~~~~~~
3427:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/secure/_string.h:124:28: note: expanded from macro 'strncpy'
3428:info:build                 __builtin___strncpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest))
3429:info:build                                          ^~~~
3430:info:build rlogin.c:230:11: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3431:info:build   strncpy(bufSend+2+strlen(szLogin), szLogin, strlen(szLogin));
3432:info:build           ^~~~~~~~~~~~~~~~~~~~~~~~~
3433:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/secure/_string.h:124:28: note: expanded from macro 'strncpy'
3434:info:build                 __builtin___strncpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest))
3435:info:build                                          ^~~~
3436:info:build rlogin.c:232:11: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3437:info:build   strncpy(bufSend+1+strlen(szLogin)+1+strlen(szLogin)+1, "xterm", 5);
3438:info:build           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3439:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/secure/_string.h:124:28: note: expanded from macro 'strncpy'
3440:info:build                 __builtin___strncpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest))
3441:info:build                                          ^~~~
3442:info:build rlogin.c:235:27: warning: passing 'unsigned char [300]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3443:info:build   if (medusaSend(hSocket, bufSend, strlen(szLogin)+1+strlen(szLogin)+1+7 , 0) < 0)
3444:info:build                           ^~~~~~~
3445:info:build ../../src/medusa-net.h:86:41: note: passing argument to parameter 'buf' here
3446:info:build extern int medusaSend(int socket, char *buf, int size, int options);
3447:info:build                                         ^
3448:info:build rlogin.c:237:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
3449:info:build /usr/bin/clang -DHAVE_CONFIG_H -I. -I../.. -I../../src   -I/opt/local/include -isysroot/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -g -DDEBUG -fPIC -I/usr/include -I/usr/local/include -I/usr/local/ssl/include -I/usr/include/postgresql -I/usr/include/pgsql -I/usr/include/afpfs-ng -I/opt/local/include  -I/opt/local/include/apr-1   -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -DDARWIN_10  -pipe -Os -isysroot/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -arch x86_64 -MT hmacmd5.o -MD -MP -MF .deps/hmacmd5.Tpo -c -o hmacmd5.o hmacmd5.c
3450:info:build     writeError(ERR_ERROR, "%s failed: medusaSend was not successful", MODULE_NAME);
3451:info:build     ^
3452:info:build rlogin.c:241:14: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3453:info:build   bufReceive = medusaReceiveRaw(hSocket, &nReceiveBufferSize);
3454:info:build              ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3455:info:build rlogin.c:244:7: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
3456:info:build       writeError(ERR_ERROR, "%s failed: medusaReceive returned no data.", MODULE_NAME);
3457:info:build       ^
3458:info:build rlogin.c:248:14: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3459:info:build   bufReceive = medusaReceiveRaw(hSocket, &nReceiveBufferSize);
3460:info:build              ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3461:info:build rlogin.c:251:7: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
3462:info:build       writeError(ERR_ERROR, "%s failed: medusaReceive returned no data.", MODULE_NAME);
3463:info:build       ^
3464:info:build rlogin.c:254:19: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3465:info:build   else if (strstr(bufReceive,"Incorrect") != NULL)
3466:info:build                   ^~~~~~~~~~
3467:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/string.h:89:26: note: passing argument to parameter '__big' here
3468:info:build char    *strstr(const char *__big, const char *__little);
3469:info:build                             ^
3470:info:build rlogin.c:256:7: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
3471:info:build       writeError(ERR_DEBUG_MODULE, "%s : Login attempt failed here.", MODULE_NAME);
3472:info:build       ^
3473:info:build rlogin.c:260:19: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3474:info:build   else if (strstr(bufReceive,"Password") != NULL)
3475:info:build                   ^~~~~~~~~~
3476:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/string.h:89:26: note: passing argument to parameter '__big' here
3477:info:build char    *strstr(const char *__big, const char *__little);
3478:info:build                             ^
3479:info:build rlogin.c:262:7: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
3480:info:build       writeError(ERR_DEBUG_MODULE, "%s : Login attempt asked for password.", MODULE_NAME);
3481:info:build       ^
3482:info:build rlogin.c:263:15: warning: passing 'unsigned char [300]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3483:info:build       sprintf(bufSend,"%s\r",szPassword);
3484:info:build               ^~~~~~~
3485:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf'
3486:info:build   __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
3487:info:build                            ^~~
3488:info:build rlogin.c:264:47: warning: passing 'unsigned char [300]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3489:info:build       if (medusaSend(hSocket, bufSend, strlen(bufSend) , 0) < 0)
3490:info:build                                               ^~~~~~~
3491:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here
3492:info:build size_t   strlen(const char *__s);
3493:info:build                             ^
3494:info:build rlogin.c:264:31: warning: passing 'unsigned char [300]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3495:info:build       if (medusaSend(hSocket, bufSend, strlen(bufSend) , 0) < 0)
3496:info:build                               ^~~~~~~
3497:info:build ../../src/medusa-net.h:86:41: note: passing argument to parameter 'buf' here
3498:info:build extern int medusaSend(int socket, char *buf, int size, int options);
3499:info:build                                         ^
3500:info:build rlogin.c:270:18: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3501:info:build       bufReceive = medusaReceiveRaw(hSocket, &nReceiveBufferSize);
3502:info:build                  ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3503:info:build rlogin.c:276:23: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3504:info:build       else if (strstr(bufReceive,"incorrect") != NULL)
3505:info:build                       ^~~~~~~~~~
3506:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/string.h:89:26: note: passing argument to parameter '__big' here
3507:info:build char    *strstr(const char *__big, const char *__little);
3508:info:build                             ^
3509:info:build rlogin.c:292:7: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
3510:info:build       writeError(ERR_INFO, "%s : Login attempt succeeded via .rhosts", MODULE_NAME);
3511:info:build       ^
3512:info:build rlogin.c:298:3: warning: implicit declaration of function 'setPassResult' is invalid in C99 [-Wimplicit-function-declaration]
3513:info:build   setPassResult((*psLogin), szPassword);
3514:info:build   ^
3515:info:build rsh.c:80:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
3516:info:build     writeError(ERR_ERROR, "%s reports an error in summaryUsage() : ppszSummary must be NULL when called", MODULE_NAME);
3517:info:build     ^
3518:info:build rsh.c:87:3: warning: implicit declaration of function 'writeVerbose' is invalid in C99 [-Wimplicit-function-declaration]
3519:info:build   writeVerbose(VB_NONE, "%s (%s) %s :: %s\n", MODULE_NAME, MODULE_VERSION, MODULE_AUTHOR, MODULE_SUMMARY_USAGE);
3520:info:build   ^
3521:info:build rsh.c:99:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
3522:info:build     writeError(ERR_ERROR, "%s is expecting 0 parameters, but it was passed %d", MODULE_NAME, argc);
3523:info:build     ^
3524:info:build rsh.c:103:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
3525:info:build     writeError(ERR_DEBUG_MODULE, "OMG teh %s module has been called!!", MODULE_NAME);
3526:info:build     ^
3527:info:build rsh.c:96:20: warning: result of comparison of constant 3 with boolean expression is always true [-Wtautological-constant-out-of-range-compare]
3528:info:build   if ( !(0 <= argc <= 3) )
3529:info:build          ~~~~~~~~~ ^  ~
3530:info:build rsh.c:121:7: warning: implicit declaration of function 'getNextCredSet' is invalid in C99 [-Wimplicit-function-declaration]
3531:info:build   if (getNextCredSet(psLogin, psCredSet) == FAILURE)
3532:info:build       ^
3533:info:build rsh.c:123:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
3534:info:build     writeError(ERR_ERROR, "[%s] Error retrieving next credential set to test.", MODULE_NAME);
3535:info:build     ^
3536:info:build rsh.c:128:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
3537:info:build     writeError(ERR_DEBUG_MODULE, "[%s] module started for host: %s user: %s", MODULE_NAME, psLogin->psServer->pHostIP, psCredSet->psUser->pUser);
3538:info:build     ^
3539:info:build rsh.c:132:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
3540:info:build     writeError(ERR_DEBUG_MODULE, "[%s] module started for host: %s - no more available users to test.", MODULE_NAME);
3541:info:build     ^
3542:info:build rsh.c:140:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
3543:info:build     writeError(ERR_DEBUG_MODULE, "[%s] module asked for SSL but don't even know if such a thing exists\n");
3544:info:build     ^
3545:info:build rsh.c:233:11: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3546:info:build   strncpy(bufSend+1, szLogin, strlen(szLogin));
3547:info:build           ^~~~~~~~~
3548:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/secure/_string.h:124:28: note: expanded from macro 'strncpy'
3549:info:build                 __builtin___strncpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest))
3550:info:build                                          ^~~~
3551:info:build rsh.c:235:11: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3552:info:build   strncpy(bufSend+2+strlen(szLogin), szPassword, strlen(szPassword));
3553:info:build           ^~~~~~~~~~~~~~~~~~~~~~~~~
3554:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/secure/_string.h:124:28: note: expanded from macro 'strncpy'
3555:info:build                 __builtin___strncpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest))
3556:info:build                                          ^~~~
3557:info:build rsh.c:237:11: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3558:info:build   strncpy(bufSend+1+strlen(szLogin)+1+strlen(szPassword)+1, "id", 3);
3559:info:build           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3560:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/secure/_string.h:124:28: note: expanded from macro 'strncpy'
3561:info:build                 __builtin___strncpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest))
3562:info:build                                          ^~~~
3563:info:build rsh.c:240:27: warning: passing 'unsigned char [300]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3564:info:build   if (medusaSend(hSocket, bufSend, strlen(szLogin)+1+strlen(szPassword)+1+4 , 0) < 0)
3565:info:build                           ^~~~~~~
3566:info:build ../../src/medusa-net.h:86:41: note: passing argument to parameter 'buf' here
3567:info:build extern int medusaSend(int socket, char *buf, int size, int options);
3568:info:build                                         ^
3569:info:build rsh.c:242:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
3570:info:build     writeError(ERR_ERROR, "%s failed: medusaSend was not successful", MODULE_NAME);
3571:info:build     ^
3572:info:build rsh.c:248:14: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3573:info:build   bufReceive = medusaReceiveRaw(hSocket, &nReceiveBufferSize);
3574:info:build              ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3575:info:build rsh.c:251:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
3576:info:build     writeError(ERR_ERROR, "%s failed: medusaReceive returned no data. Which ends rsh test.", MODULE_NAME);
3577:info:build     ^
3578:info:build rsh.c:254:14: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3579:info:build   bufReceive = medusaReceiveRaw(hSocket, &nReceiveBufferSize);
3580:info:build              ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3581:info:build rsh.c:257:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
3582:info:build     writeError(ERR_ERROR, "%s failed: medusaReceive returned no data. Exiting...", MODULE_NAME);
3583:info:build     ^
3584:info:build rsh.c:260:19: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3585:info:build   else if (strstr(bufReceive,"uid") != NULL)
3586:info:build                   ^~~~~~~~~~
3587:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/string.h:89:26: note: passing argument to parameter '__big' here
3588:info:build char    *strstr(const char *__big, const char *__little);
3589:info:build                             ^
3590:info:build rsh.c:262:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
3591:info:build     writeError(ERR_DEBUG_MODULE, "%s : Login attempt successful.", MODULE_NAME);
3592:info:build     ^
3593:info:build rsh.c:268:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
3594:info:build     writeError(ERR_DEBUG_MODULE, "%s : Login attempt failed.", MODULE_NAME);
3595:info:build     ^
3596:info:build rsh.c:274:3: warning: implicit declaration of function 'setPassResult' is invalid in C99 [-Wimplicit-function-declaration]
3597:info:build   setPassResult((*psLogin), szPassword);
3598:info:build   ^
3599:info:build 47 warnings generated.
3600:info:build 28 warnings generated.
3601:info:build mv -f .deps/pcanywhere.Tpo .deps/pcanywhere.Po
3602:info:build 30 warnings generated.
3603:info:build mv -f .deps/rexec.Tpo .deps/rexec.Po
3604:info:build mv -f .deps/rlogin.Tpo .deps/rlogin.Po
3605:info:build /usr/bin/clang -DHAVE_CONFIG_H -I. -I../.. -I../../src   -I/opt/local/include -isysroot/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -g -DDEBUG -fPIC -I/usr/include -I/usr/local/include -I/usr/local/ssl/include -I/usr/include/postgresql -I/usr/include/pgsql -I/usr/include/afpfs-ng -I/opt/local/include  -I/opt/local/include/apr-1   -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -DDARWIN_10  -pipe -Os -isysroot/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -arch x86_64 -MT smtp.o -MD -MP -MF .deps/smtp.Tpo -c -o smtp.o smtp.c
3606:info:build /usr/bin/clang -DHAVE_CONFIG_H -I. -I../.. -I../../src   -I/opt/local/include -isysroot/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -g -DDEBUG -fPIC -I/usr/include -I/usr/local/include -I/usr/local/ssl/include -I/usr/include/postgresql -I/usr/include/pgsql -I/usr/include/afpfs-ng -I/opt/local/include  -I/opt/local/include/apr-1   -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -DDARWIN_10  -pipe -Os -isysroot/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -arch x86_64 -MT smtp-vrfy.o -MD -MP -MF .deps/smtp-vrfy.Tpo -c -o smtp-vrfy.o smtp-vrfy.c
3607:info:build 23 warnings generated.
3608:info:build /usr/bin/clang -DHAVE_CONFIG_H -I. -I../.. -I../../src   -I/opt/local/include -isysroot/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -g -DDEBUG -fPIC -I/usr/include -I/usr/local/include -I/usr/local/ssl/include -I/usr/include/postgresql -I/usr/include/pgsql -I/usr/include/afpfs-ng -I/opt/local/include  -I/opt/local/include/apr-1   -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -DDARWIN_10  -pipe -Os -isysroot/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -arch x86_64 -MT snmp.o -MD -MP -MF .deps/snmp.Tpo -c -o snmp.o snmp.c
3609:info:build mv -f .deps/rsh.Tpo .deps/rsh.Po
3610:info:build mv -f .deps/ntlm.Tpo .deps/ntlm.Po
3611:info:build smbnt.c:193:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
3612:info:build     writeError(ERR_ERROR, "%s reports an error in summaryUsage() : ppszSummary must be NULL when called", MODULE_NAME);
3613:info:build     ^
3614:info:build /usr/bin/clang -DHAVE_CONFIG_H -I. -I../.. -I../../src   -I/opt/local/include -isysroot/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -g -DDEBUG -fPIC -I/usr/include -I/usr/local/include -I/usr/local/ssl/include -I/usr/include/postgresql -I/usr/include/pgsql -I/usr/include/afpfs-ng -I/opt/local/include  -I/opt/local/include/apr-1   -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -DDARWIN_10  -pipe -Os -isysroot/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -arch x86_64 -MT ssh.o -MD -MP -MF .deps/ssh.Tpo -c -o ssh.o ssh.c
3615:info:build smbnt.c:200:3: warning: implicit declaration of function 'writeVerbose' is invalid in C99 [-Wimplicit-function-declaration]
3616:info:build   writeVerbose(VB_NONE, "%s (%s) %s :: %s\n", MODULE_NAME, MODULE_VERSION, MODULE_AUTHOR, MODULE_SUMMARY_USAGE);
3617:info:build   ^
3618:info:build /usr/bin/clang -DHAVE_CONFIG_H -I. -I../.. -I../../src   -I/opt/local/include -isysroot/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -g -DDEBUG -fPIC -I/usr/include -I/usr/local/include -I/usr/local/ssl/include -I/usr/include/postgresql -I/usr/include/pgsql -I/usr/include/afpfs-ng -I/opt/local/include  -I/opt/local/include/apr-1   -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -DDARWIN_10  -pipe -Os -isysroot/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -arch x86_64 -MT svn.o -MD -MP -MF .deps/svn.Tpo -c -o svn.o svn.c
3619:info:build smbnt.c:259:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
3620:info:build     writeError(ERR_ERROR, "%s is expecting 0 parameters, but it was passed %d", MODULE_NAME, argc);
3621:info:build     ^
3622:info:build smbnt.c:263:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
3623:info:build     writeError(ERR_DEBUG_MODULE, "OMG teh %s module has been called!!", MODULE_NAME);
3624:info:build     ^
3625:info:build smbnt.c:256:20: warning: result of comparison of constant 3 with boolean expression is always true [-Wtautological-constant-out-of-range-compare]
3626:info:build   if ( !(0 <= argc <= 3) )
3627:info:build          ~~~~~~~~~ ^  ~
3628:info:build smbnt.c:371:7: warning: implicit declaration of function 'getNextCredSet' is invalid in C99 [-Wimplicit-function-declaration]
3629:info:build   if (getNextCredSet(psLogin, psCredSet) == FAILURE)
3630:info:build       ^
3631:info:build smbnt.c:373:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
3632:info:build     writeError(ERR_ERROR, "[%s] Error retrieving next credential set to test.", MODULE_NAME);
3633:info:build     ^
3634:info:build smbnt.c:378:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
3635:info:build     writeError(ERR_DEBUG_MODULE, "[%s] module started for host: %s user: %s", MODULE_NAME, psLogin->psServer->pHostIP, psCredSet->psUser->pUser);
3636:info:build     ^
3637:info:build smbnt.c:383:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
3638:info:build     writeError(ERR_DEBUG_MODULE, "[%s] module started for host: %s - no more available users to test.", MODULE_NAME);
3639:info:build     ^
3640:info:build smbnt.c:408:13: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
3641:info:build             writeError(ERR_NOTICE, "%s Failed to establish WIN2000_NATIVE mode. Attempting WIN_NETBIOS mode.)", MODULE_NAME);
3642:info:build             ^
3643:info:build smbnt.c:420:11: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
3644:info:build           writeError(ERR_ERROR, "%s: failed to connect, port %d was not open on %s", MODULE_NAME, params.nPort, psLogin->psServer->pHostIP);
3645:info:build           ^
3646:info:build smbnt.c:425:9: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
3647:info:build         writeError(ERR_DEBUG_MODULE, "Connected");
3648:info:build         ^
3649:info:build smbnt.c:427:13: warning: implicit declaration of function 'NBSSessionRequest' is invalid in C99 [-Wimplicit-function-declaration]
3650:info:build         if (NBSSessionRequest(hSocket, _psSessionData) < 0) {
3651:info:build             ^
3652:info:build smbnt.c:433:13: warning: implicit declaration of function 'SMBNegProt' is invalid in C99 [-Wimplicit-function-declaration]
3653:info:build         if (SMBNegProt(hSocket, _psSessionData) < 0)
3654:info:build             ^
3655:info:build smbnt.c:489:3: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
3656:info:build   writeError(ERR_DEBUG_MODULE, "[%s] Exiting module...", MODULE_NAME);
3657:info:build   ^
3658:info:build smbnt.c:508:7: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
3659:info:build       writeError(ERR_NOTICE, "[%s] Using the DOMAIN\\USER format with the GROUP/GROUP_OTHER module options is redundant.", MODULE_NAME);
3660:info:build       ^
3661:info:build smbnt.c:514:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
3662:info:build     writeError(ERR_DEBUG_MODULE, "Processing domain and username: %s", pOptTmp);
3663:info:build     ^
3664:info:build smbnt.c:535:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
3665:info:build     writeError(ERR_DEBUG_MODULE, "Processing username: %s", szUser);
3666:info:build     ^
3667:info:build smbnt.c:617:7: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
3668:info:build       writeError(ERR_ERROR, "Error reading PwDump file.");
3669:info:build       ^
3670:info:build smbnt.c:621:7: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
3671:info:build       writeError(ERR_DEBUG_MODULE, "Found \"NO PASSWORD\" for LM Hash.");
3672:info:build       ^
3673:info:build smbnt.c:628:7: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
3674:info:build       writeError(ERR_DEBUG_MODULE, "Convert ASCII PwDump LM Hash (%s).", p);
3675:info:build       ^
3676:info:build smbnt.c:664:13: warning: passing 'unsigned char [15]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3677:info:build     strncpy(password, pass, 14);
3678:info:build             ^~~~~~~~
3679:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/secure/_string.h:124:28: note: expanded from macro 'strncpy'
3680:info:build                 __builtin___strncpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest))
3681:info:build                                          ^~~~
3682:info:build smbnt.c:664:23: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3683:info:build     strncpy(password, pass, 14);
3684:info:build                       ^~~~
3685:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/secure/_string.h:124:34: note: expanded from macro 'strncpy'
3686:info:build                 __builtin___strncpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest))
3687:info:build                                                ^~~~~~~~~~~
3688:info:build smbnt.c:722:7: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
3689:info:build       writeError(ERR_ERROR, "Error reading PwDump file.");
3690:info:build       ^
3691:info:build smbnt.c:726:7: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
3692:info:build       writeError(ERR_DEBUG_MODULE, "Found \"NO PASSWORD\" for NTLM Hash.");
3693:info:build       ^
3694:info:build smbnt.c:727:12: warning: assigning to 'unsigned char *' from 'char [1]' converts between pointers to integer types with different sign [-Wpointer-sign]
3695:info:build       pass = "";
3696:info:build            ^ ~~
3697:info:build smbnt.c:741:7: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
3698:info:build       writeError(ERR_DEBUG_MODULE, "Convert ASCII PwDump NTLM Hash (%s).", p);
3699:info:build       ^
3700:info:build smbnt.c:889:3: warning: implicit declaration of function 'hmac_md5_init_limK_to_64' is invalid in C99 [-Wimplicit-function-declaration]
3701:info:build   hmac_md5_init_limK_to_64(ntlm_hash, 16, &ctx);
3702:info:build   ^
3703:info:build smbnt.c:890:3: warning: implicit declaration of function 'hmac_md5_update' is invalid in C99 [-Wimplicit-function-declaration]
3704:info:build   hmac_md5_update((const unsigned char *)unicodeUsername, 2 * strlen((char *)szLogin), &ctx);
3705:info:build   ^
3706:info:build smbnt.c:892:3: warning: implicit declaration of function 'hmac_md5_final' is invalid in C99 [-Wimplicit-function-declaration]
3707:info:build   hmac_md5_final(kr_buf, &ctx);
3708:info:build   ^
3709:info:build smbnt.c:1010:3: warning: implicit declaration of function 'hmac_md5_init_limK_to_64' is invalid in C99 [-Wimplicit-function-declaration]
3710:info:build   hmac_md5_init_limK_to_64(ntlm_hash, 16, &ctx);
3711:info:build   ^
3712:info:build smbnt.c:1011:3: warning: implicit declaration of function 'hmac_md5_update' is invalid in C99 [-Wimplicit-function-declaration]
3713:info:build   hmac_md5_update((const unsigned char *)unicodeUsername, 2 * strlen((char *)szLogin), &ctx);
3714:info:build   ^
3715:info:build smbnt.c:1013:3: warning: implicit declaration of function 'hmac_md5_final' is invalid in C99 [-Wimplicit-function-declaration]
3716:info:build   hmac_md5_final(kr_buf, &ctx);
3717:info:build   ^
3718:info:build mv -f .deps/hmacmd5.Tpo .deps/hmacmd5.Po
3719:info:build smbnt.c:1033:25: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
3720:info:build   else if (ts.tv_sec == TIME_T_MAX)
3721:info:build                         ^~~~~~~~~~
3722:info:build smbnt.c:134:36: note: expanded from macro 'TIME_T_MAX'
3723:info:build #define TIME_T_MAX (~ (time_t) 0 - TIME_T_MIN)
3724:info:build                                    ^~~~~~~~~~
3725:info:build smbnt.c:131:24: note: expanded from macro 'TIME_T_MIN'
3726:info:build         : ~ (time_t) 0 << (sizeof (time_t) * CHAR_BIT - 1))
3727:info:build           ~~~~~~~~~~~~ ^
3728:info:build smbnt.c:1130:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
3729:info:build     writeError(ERR_ERROR, "%s failed: medusaSend was not successful", MODULE_NAME);
3730:info:build     ^
3731:info:build /usr/bin/clang -DHAVE_CONFIG_H -I. -I../.. -I../../src   -I/opt/local/include -isysroot/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -g -DDEBUG -fPIC -I/usr/include -I/usr/local/include -I/usr/local/ssl/include -I/usr/include/postgresql -I/usr/include/pgsql -I/usr/include/afpfs-ng -I/opt/local/include  -I/opt/local/include/apr-1   -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -DDARWIN_10  -pipe -Os -isysroot/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -arch x86_64 -MT telnet.o -MD -MP -MF .deps/telnet.Tpo -c -o telnet.o telnet.c
3732:info:build smbnt.c:1190:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
3733:info:build     writeError(ERR_DEBUG_MODULE, "[%s] Setting Negotiate Protocol Response for LM.", MODULE_NAME);
3734:info:build     ^
3735:info:build smbnt.c:1199:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
3736:info:build     writeError(ERR_ERROR, "%s failed: medusaSend was not successful", MODULE_NAME);
3737:info:build     ^
3738:info:build smbnt.c:1221:7: warning: implicit declaration of function 'writeVerbose' is invalid in C99 [-Wimplicit-function-declaration]
3739:info:build       writeVerbose(VB_GENERAL, "%s: Server requested PLAINTEXT password.", MODULE_NAME);
3740:info:build       ^
3741:info:build smbnt.c:1226:9: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
3742:info:build         writeError(ERR_ERROR, "%s: Server requested PLAINTEXT password. HASH password mode not supported for this configuration.", MODULE_NAME);
3743:info:build         ^
3744:info:build smbnt.c:1231:9: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
3745:info:build         writeError(ERR_ERROR, "%s: Server requested PLAINTEXT password. MACHINE password mode not supported for this configuration.", MODULE_NAME);
3746:info:build         ^
3747:info:build smbnt.c:1246:7: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
3748:info:build       writeError(ERR_ERROR, "%s: Unknown security mode request: %2.2X. Proceeding using ENCRYPTED password mode.", MODULE_NAME, bufReceive[39]);
3749:info:build       ^
3750:info:build smbnt.c:1268:3: warning: implicit declaration of function 'writeVerbose' is invalid in C99 [-Wimplicit-function-declaration]
3751:info:build   writeVerbose(VB_GENERAL, "%s: Server machine name: %s", MODULE_NAME, _psSessionData->machine_name);
3752:info:build   ^
3753:info:build smbnt.c:1298:49: warning: passing 'unsigned char [16]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3754:info:build     strncpy((char *) _psSessionData->workgroup, _psSessionData->workgroup_other, 16);
3755:info:build                                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3756:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/secure/_string.h:124:34: note: expanded from macro 'strncpy'
3757:info:build                 __builtin___strncpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest))
3758:info:build                                                ^~~~~~~~~~~
3759:info:build smbnt.c:1332:7: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
3760:info:build       writeError(ERR_DEBUG_MODULE, "[%s] Attempting LM password authentication.", MODULE_NAME);
3761:info:build       ^
3762:info:build smbnt.c:1368:7: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
3763:info:build       writeError(ERR_DEBUG_MODULE, "[%s] Attempting NTLM password authentication.", MODULE_NAME);
3764:info:build       ^
3765:info:build smbnt.c:1406:7: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
3766:info:build       writeError(ERR_DEBUG_MODULE, "[%s] Attempting LMv2 password authentication.", MODULE_NAME);
3767:info:build       ^
3768:info:build smbnt.c:1443:7: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
3769:info:build       writeError(ERR_DEBUG_MODULE, "[%s] Attempting LMv2/NTLMv2 password authentication.", MODULE_NAME);
3770:info:build       ^
3771:info:build smbnt.c:1491:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
3772:info:build     writeError(ERR_DEBUG_MODULE, "[%s] Attempting PLAINTEXT password authentication.", MODULE_NAME);
3773:info:build     ^
3774:info:build smbnt.c:1530:13: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3775:info:build     strncpy(buf + iOffset, szPassword, 256);
3776:info:build             ^~~~~~~~~~~~~
3777:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/secure/_string.h:124:28: note: expanded from macro 'strncpy'
3778:info:build                 __builtin___strncpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest))
3779:info:build                                          ^~~~
3780:info:build smbnt.c:1534:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
3781:info:build     writeError(ERR_ERROR, "%s: security_mode was not properly set. This should not happen.", MODULE_NAME);
3782:info:build     ^
3783:info:build smbnt.c:1545:11: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3784:info:build   sprintf(buf + iOffset + iByteCount, "Unix");
3785:info:build           ^~~~~~~~~~~~~~~~~~~~~~~~~~
3786:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf'
3787:info:build   __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
3788:info:build                            ^~~
3789:info:build smbnt.c:1547:11: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3790:info:build   sprintf(buf + iOffset + iByteCount, "Samba");
3791:info:build           ^~~~~~~~~~~~~~~~~~~~~~~~~~
3792:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf'
3793:info:build   __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
3794:info:build                            ^~~
3795:info:build smbnt.c:1553:3: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
3796:info:build   writeError(ERR_DEBUG_MODULE, "[%s] Set NBSS header length: %2.2X", MODULE_NAME, buf[3]);
3797:info:build   ^
3798:info:build smbnt.c:1638:3: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
3799:info:build   writeError(ERR_DEBUG_MODULE, "SMBSessionRet: %8.8X SMBerr: %4.4X SMBaction: %2.2X", SMBSessionRet, SMBerr, SMBaction);
3800:info:build   ^
3801:info:build smbnt.c:1713:5: warning: implicit declaration of function 'setPassResult' is invalid in C99 [-Wimplicit-function-declaration]
3802:info:build     setPassResult((*psLogin), _psSessionData->machine_name);
3803:info:build     ^
3804:info:build smbnt.c:1717:5: warning: implicit declaration of function 'setPassResult' is invalid in C99 [-Wimplicit-function-declaration]
3805:info:build     setPassResult((*psLogin), szPassword);
3806:info:build     ^
3807:info:build smtp-vrfy.c:88:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
3808:info:build     writeError(ERR_ERROR, "%s reports an error in summaryUsage() : ppszSummary must be NULL when called", MODULE_NAME);
3809:info:build     ^
3810:info:build smtp-vrfy.c:95:3: warning: implicit declaration of function 'writeVerbose' is invalid in C99 [-Wimplicit-function-declaration]
3811:info:build   writeVerbose(VB_NONE, "%s (%s) %s :: %s\n", MODULE_NAME, MODULE_VERSION, MODULE_AUTHOR, MODULE_SUMMARY_USAGE);
3812:info:build   ^
3813:info:build smtp-vrfy.c:117:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
3814:info:build     writeError(ERR_ERROR, "%s is expecting 0 parameters, but it was passed %d", MODULE_NAME, argc);
3815:info:build     ^
3816:info:build smtp-vrfy.c:121:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
3817:info:build     writeError(ERR_DEBUG_MODULE, "OMG teh %s module has been called!!", MODULE_NAME);
3818:info:build     ^
3819:info:build smtp-vrfy.c:114:20: warning: result of comparison of constant 3 with boolean expression is always true [-Wtautological-constant-out-of-range-compare]
3820:info:build   if ( !(0 <= argc <= 3) )
3821:info:build          ~~~~~~~~~ ^  ~
3822:info:build smtp-vrfy.c:172:7: warning: implicit declaration of function 'getNextCredSet' is invalid in C99 [-Wimplicit-function-declaration]
3823:info:build snmp.c:100:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
3824:info:build   if (getNextCredSet(psLogin, psCredSet) == FAILURE)
3825:info:build       ^
3826:info:build smtp-vrfy.c:174:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
3827:info:build     writeError(ERR_ERROR, "%s reports an error in summaryUsage() : ppszSummary must be NULL when called", MODULE_NAME);
3828:info:build     ^
3829:info:build     writeError(ERR_ERROR, "[%s] Error retrieving next credential set to test.", MODULE_NAME);
3830:info:build     ^
3831:info:build smtp-vrfy.c:179:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
3832:info:build     writeError(ERR_DEBUG_MODULE, "[%s] module started for host: %s user: %s", MODULE_NAME, psLogin->psServer->pHostIP, psCredSet->psUser->pUser);
3833:info:build     ^
3834:info:build smtp-vrfy.c:183:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
3835:info:build     writeError(ERR_DEBUG_MODULE, "[%s] module started for host: %s - no more available users to test.", MODULE_NAME);
3836:info:build     ^
3837:info:build smtp-vrfy.c:198:3: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
3838:info:build   writeError(ERR_DEBUG_MODULE, "[%s] Set HELO value: %s", MODULE_NAME, _psSessionData->szHELO);
3839:info:build   ^
3840:info:build snmp.c:107:3: warning: implicit declaration of function 'writeVerbose' is invalid in C99 [-Wimplicit-function-declaration]
3841:info:build   writeVerbose(VB_NONE, "%s (%s) %s :: %s\n", MODULE_NAME, MODULE_VERSION, MODULE_AUTHOR, MODULE_SUMMARY_USAGE);
3842:info:build   ^
3843:info:build smtp-vrfy.c:225:27: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
3844:info:build         while (bufReceive = medusaReceiveRaw(hSocket, &nReceiveBufferSize))
3845:info:build                ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3846:info:build smtp-vrfy.c:225:27: note: place parentheses around the assignment to silence this warning
3847:info:build         while (bufReceive = medusaReceiveRaw(hSocket, &nReceiveBufferSize))
3848:info:build                           ^
3849:info:build                (                                                          )
3850:info:build smtp-vrfy.c:225:27: note: use '==' to turn this assignment into an equality comparison
3851:info:build smtp.c:99:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
3852:info:build         while (bufReceive = medusaReceiveRaw(hSocket, &nReceiveBufferSize))
3853:info:build                           ^
3854:info:build                           ==
3855:info:build     writeError(ERR_ERROR, "%s reports an error in summaryUsage() : ppszSummary must be NULL when called", MODULE_NAME);
3856:info:build     ^
3857:info:build snmp.c:157:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
3858:info:build     writeError(ERR_ERROR, "%s is expecting 0 parameters, but it was passed %d", MODULE_NAME, argc);
3859:info:build     ^
3860:info:build snmp.c:161:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
3861:info:build     writeError(ERR_DEBUG_MODULE, "OMG teh %s module has been called!!", MODULE_NAME);
3862:info:build     ^
3863:info:build smtp.c:106:3: warning: implicit declaration of function 'writeVerbose' is invalid in C99 [-Wimplicit-function-declaration]
3864:info:build   writeVerbose(VB_NONE, "%s (%s) %s :: %s\n", MODULE_NAME, MODULE_VERSION, MODULE_AUTHOR, MODULE_SUMMARY_USAGE);
3865:info:build   ^
3866:info:build snmp.c:154:20: warning: result of comparison of constant 3 with boolean expression is always true [-Wtautological-constant-out-of-range-compare]
3867:info:build   if ( !(0 <= argc <= 3) )
3868:info:build          ~~~~~~~~~ ^  ~
3869:info:build smtp.c:138:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
3870:info:build     writeError(ERR_ERROR, "%s is expecting 0 parameters, but it was passed %d", MODULE_NAME, argc);
3871:info:build     ^
3872:info:build smtp.c:142:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
3873:info:build     writeError(ERR_DEBUG_MODULE, "OMG teh %s module has been called!!", MODULE_NAME);
3874:info:build     ^
3875:info:build smtp.c:135:20: warning: result of comparison of constant 3 with boolean expression is always true [-Wtautological-constant-out-of-range-compare]
3876:info:build   if ( !(0 <= argc <= 3) )
3877:info:build          ~~~~~~~~~ ^  ~
3878:info:build smtp-vrfy.c:335:11: warning: passing 'unsigned char [300]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3879:info:build   sprintf(bufSend, "HELO %.250s\r\n", _psSessionData->szHELO);
3880:info:build           ^~~~~~~
3881:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf'
3882:info:build   __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
3883:info:build                            ^~~
3884:info:build snmp.c:247:7: warning: implicit declaration of function 'getNextCredSet' is invalid in C99 [-Wimplicit-function-declaration]
3885:info:build smtp-vrfy.c:337:43: warning: passing 'unsigned char [300]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3886:info:build   if (getNextCredSet(psLogin, psCredSet) == FAILURE)
3887:info:build       ^
3888:info:build snmp.c:249:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
3889:info:build     writeError(ERR_ERROR, "[%s] Error retrieving next credential set to test.", MODULE_NAME);
3890:info:build     ^
3891:info:build   if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0)
3892:info:build                                           ^~~~~~~
3893:info:build snmp.c:/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here
3894:info:build size_t   strlen(const char *__s);
3895:info:build                             ^
3896:info:build smtp-vrfy.c:337:27: warning: passing 'unsigned char [300]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3897:info:build   if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0)
3898:info:build                           ^~~~~~~
3899:info:build 254:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
3900:info:build ../../src/medusa-net.h:86:41: note: passing argument to parameter 'buf' here
3901:info:build     writeError(ERR_DEBUG_MODULE, "[%s] module started for host: %s user: %s", MODULE_NAME, psLogin->psServer->pHostIP, psCredSet->psUser->pUser);
3902:info:build     ^
3903:info:build extern int medusaSend(int socket, char *buf, int size, int options);
3904:info:build                                         ^
3905:info:build smtp-vrfy.csnmp.c::339258::55::  warningwarning: : implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
3906:info:build     writeError(ERR_ERROR, "%s failed: medusaSend was not successful", MODULE_NAME);
3907:info:build     ^
3908:info:build     writeError(ERR_DEBUG_MODULE, "[%s] module started for host: %s - no more available users to test.", MODULE_NAME);
3909:info:build     ^
3910:info:build smtp-vrfy.c:346:21: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3911:info:build   while (bufReceive = medusaReceiveRaw(hSocket, &nReceiveBufferSize))
3912:info:build                     ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3913:info:build snmp.c:266:smtp-vrfy.c3::346 :warning21: :implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
3914:info:build warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
3915:info:build   while (bufReceive = medusaReceiveRaw(hSocket, &nReceiveBufferSize))
3916:info:build          ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3917:info:build   writeError(ERR_DEBUG_MODULE, "[%s] module started for host: %s", MODULE_NAME, psLogin->psServer->pHostIP);
3918:info:build   ^
3919:info:build smtp-vrfy.c:346:21: note: place parentheses around the assignment to silence this warning
3920:info:build   while (bufReceive = medusaReceiveRaw(hSocket, &nReceiveBufferSize))
3921:info:build                     ^
3922:info:build          (                                                          )
3923:info:build snmp.c:301:9: warning: implicit declaration of function 'setPassResult' is invalid in C99 [-Wimplicit-function-declaration]
3924:info:build smtp-vrfy.c:346:21: note: use '==' to turn this assignment into an equality comparison
3925:info:build         setPassResult(psLogin, psCredSet->pPass);
3926:info:build         ^
3927:info:build   while (bufReceive = medusaReceiveRaw(hSocket, &nReceiveBufferSize))
3928:info:build                     ^
3929:info:build                     ==
3930:info:build smtp-vrfy.c:359:16: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3931:info:build     if (strstr(bufReceive, "250 ") != NULL)
3932:info:build                ^~~~~~~~~~
3933:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/string.h:89:26: note: passing argument to parameter '__big' here
3934:info:build char    *strstr(const char *__big, const char *__little);
3935:info:build                             ^
3936:info:build snmp.c:smtp-vrfy.c377::3629::38 :warning : warningimplicit declaration of function 'setPassResult' is invalid in C99 [-Wimplicit-function-declaration]:
3937:info:build passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3938:info:build         setPassResult(psLogin, arrszPassList[i]);
3939:info:build         ^
3940:info:build     if (nBannerStatus > 0 && (strstr(bufReceive, "\r\n") != NULL))
3941:info:build                                      ^~~~~~~~~~
3942:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/string.h:89:26: note: passing argument to parameter '__big' here
3943:info:build snmp.c:383:9: warning: implicit declaration of function 'setPassResult' is invalid in C99 [-Wimplicit-function-declaration]
3944:info:build char    *strstr(const char *__big, const char *__little);
3945:info:build                             ^
3946:info:build         setPassResult(psLogin, arrszPassList[i]);
3947:info:build         ^
3948:info:build smtp-vrfy.c:367:7: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
3949:info:build       writeError(ERR_DEBUG_MODULE, "[%s] Server sent '250' code.", MODULE_NAME);
3950:info:build       ^
3951:info:build snmp.c:391:7: warning: implicit declaration of function 'setPassResult' is invalid in C99 [-Wimplicit-function-declaration]
3952:info:build       setPassResult(psLogin, arrszPassList[i]);
3953:info:build       ^
3954:info:build snmp.c:289:20: warning: result of comparison of constant 4294967295 with expression of type 'enum MODULE_STATE' is always false [-Wtautological-constant-out-of-range-compare]
3955:info:build         if (nState == FAILURE)
3956:info:build             ~~~~~~ ^  ~~~~~~~
3957:info:build smtp-vrfy.c:385:11: warning: passing 'unsigned char [300]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3958:info:build   sprintf(bufSend, "QUIT\r\n");
3959:info:build           ^~~~~~~
3960:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf'
3961:info:build   __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
3962:info:build                            ^~~
3963:info:build smtp-vrfy.c:387:43: warning: passing 'unsigned char [300]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3964:info:build smtp.c:219:7  if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0)
3965:info:build                                           ^~~~~~~
3966:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/string.h::82:28: note: passing argument to parameter '__s' here
3967:info:build size_t   strlen(const char *__s);
3968:info:build                             ^
3969:info:build smtp-vrfy.c:387:27: warning: passing 'unsigned char [300]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3970:info:build  warning: implicit declaration of function 'getNextCredSet' is invalid in C99 [-Wimplicit-function-declaration]
3971:info:build   if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0)
3972:info:build                           ^~~~~~~
3973:info:build ../../src/medusa-net.h:86:41: note: passing argument to parameter 'buf' here
3974:info:build extern int medusaSend(int socket, char *buf, int size, int options);
3975:info:build                                         ^
3976:info:build smtp-vrfy.c:389:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
3977:info:build     writeError(ERR_ERROR, "%s failed: medusaSend was not successful", MODULE_NAME);
3978:info:build     ^
3979:info:build   if (getNextCredSet(psLogin, psCredSet) == FAILURE)
3980:info:build       ^
3981:info:build smtp.c:221:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
3982:info:build smtp-vrfy.c:419:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
3983:info:build     writeError(ERR_DEBUG_MODULE, "[%s] Sending: VRFY %.250s@%.250s\r\n", MODULE_NAME, szAccount, szDomain);
3984:info:build     ^
3985:info:build smtp-vrfy.c:420:13: warning: passing 'unsigned char [300]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3986:info:build     sprintf(bufSend, "VRFY %.250s@%.250s\r\n", szAccount, szDomain);
3987:info:build             ^~~~~~~
3988:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/secure/_stdio.h:47:28: note:     writeError(ERR_ERROR, "[%s] Error retrieving next credential set to test.", MODULE_NAME);
3989:info:build     ^expanded from macro 'sprintf'
3990:info:build   __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
3991:info:build                            ^~~
3992:info:build smtp-vrfy.c:424:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
3993:info:build     writeError(ERR_DEBUG_MODULE, "[%s] Sending: VRFY %.250s\r\n", MODULE_NAME, szAccount);
3994:info:build     ^
3995:info:build smtp.c:226:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
3996:info:build smtp-vrfy.c:425:13: warning: passing 'unsigned char [300]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3997:info:build     sprintf(bufSend, "VRFY %.250s\r\n", szAccount);
3998:info:build             ^~~~~~~
3999:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf'
4000:info:build     writeError(ERR_DEBUG_MODULE, "[%s] module started for host: %s user: %s", MODULE_NAME, psLogin->psServer->pHostIP, psCredSet->psUser->pUser);
4001:info:build     ^
4002:info:build   __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
4003:info:build                            ^~~
4004:info:build smtp.c:230:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
4005:info:build smtp-vrfy.c:428:43: warning: passing 'unsigned char [300]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
4006:info:build   if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0)
4007:info:build                                           ^~~~~~~
4008:info:build     writeError(ERR_DEBUG_MODULE, "[%s] module started for host: %s - no more available users to test.", MODULE_NAME);
4009:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/string.h    ^:
4010:info:build 82:28: note: passing argument to parameter '__s' here
4011:info:build size_t   strlen(const char *__s);
4012:info:build                             ^
4013:info:build smtp-vrfy.c:428:27: warning: passing 'unsigned char [300]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
4014:info:build   if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0)
4015:info:build                           ^~~~~~~
4016:info:build ../../src/medusa-net.h:86:41: note: passing argument to parameter 'buf' here
4017:info:build extern int medusaSend(int socket, char *buf, int size, int options);
4018:info:build                                         ^
4019:info:build smtp-vrfy.c:430:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
4020:info:build     writeError(ERR_ERROR, "%s failed: medusaSend was not successful", MODULE_NAME);
4021:info:build     ^
4022:info:build smtp-vrfy.c:434:14: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
4023:info:build   bufReceive = medusaReceiveLineDelay(hSocket, &nReceiveBufferSize, RECEIVE_DELAY_1, RECEIVE_DELAY_2);
4024:info:build              ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4025:info:build smtp.c:266:11: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
4026:info:build smtp-vrfy.c:437:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
4027:info:build           writeError(ERR_NOTICE, "[%s] failed to connect, port %d was not open on %s", MODULE_NAME, params.nPort, psLogin->psServer->pHostIP);
4028:info:build           ^
4029:info:build     writeError(ERR_ERROR, "%s failed: medusaReceive returned no data.", MODULE_NAME);
4030:info:build     ^
4031:info:build smtp-vrfy.c:440:20: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
4032:info:build smtp.c:277:9: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
4033:info:build   else if (strncmp(bufReceive, "250 ", 4) == 0) /* valid account */
4034:info:build                    ^~~~~~~~~~
4035:info:build         writeError(ERR_DEBUG_MODULE, "Connected");
4036:info:build         ^
4037:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/string.h:84:26: note: passing argument to parameter '__s1' here
4038:info:build smtp.c:282:14: warning: implicit declaration of function 'medusaCheckSocket' is invalid in C99 [-Wimplicit-function-declaration]
4039:info:build int      strncmp(const char *__s1, const char *__s2, size_t __n);
4040:info:build                              ^
4041:info:build         if ( medusaCheckSocket(hSocket, psLogin->psServer->psAudit->iSocketWait) )
4042:info:build              ^
4043:info:build smtp-vrfy.c:442:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
4044:info:build     writeError(ERR_DEBUG_MODULE, "[%s] Found valid account: %s", MODULE_NAME, szAccount);
4045:info:build     ^
4046:info:build smtp-vrfy.c:446:20: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
4047:info:build   else if (strncmp(bufReceive, "252 ", 4) == 0) /* valid account */
4048:info:build                    ^~~~~~~~~~
4049:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/string.h:84:26: note: passing argument to parameter '__s1' here
4050:info:build int      strncmp(const char *__s1, const char *__s2, size_t __n);
4051:info:build                              ^
4052:info:build smtp-vrfy.c:448:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
4053:info:build     writeError(ERR_DEBUG_MODULE, "[%s] Found valid account: %s", MODULE_NAME, szAccount);
4054:info:build     ^
4055:info:build smtp-vrfy.c:452:20: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
4056:info:build   else if (strncmp(bufReceive, "550 ", 4) == 0) /* non-existant account */
4057:info:build                    ^~~~~~~~~~
4058:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/string.h:84:26: note: passing argument to parameter '__s1' here
4059:info:build int      strncmp(const char *__s1, const char *__s2, size_t __n);
4060:info:build                              ^
4061:info:build smtp-vrfy.c:454:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
4062:info:build     writeError(ERR_DEBUG_MODULE, "[%s] Non-existant account: %s", MODULE_NAME, szAccount);
4063:info:build     ^
4064:info:build snmp.c:449:9: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
4065:info:build smtp-vrfy.c:458:20: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
4066:info:build         writeError(ERR_DEBUG_MODULE, "[%s] Multi-octet mode length: %d", MODULE_NAME, nLength);
4067:info:build         ^
4068:info:build   else if (strncmp(bufReceive, "557 ", 4) == 0) /* 557 5.5.2 String does not match anything. */
4069:info:build                    ^~~~~~~~~~
4070:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/string.h:84:26: note: passing argument to parameter '__s1' here
4071:info:build int      strncmp(const char *__s1, const char *__s2, size_t __n);
4072:info:build                              ^
4073:info:build smtp-vrfy.c:460:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
4074:info:build snmp.c:459:7: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
4075:info:build     writeError(ERR_DEBUG_MODULE, "[%s] Non-existant account: %s", MODULE_NAME, szAccount);
4076:info:build     ^
4077:info:build       writeError(ERR_DEBUG_MODULE, "[%s] Single octet mode length: %d", MODULE_NAME, nLength);
4078:info:build       ^
4079:info:build smtp-vrfy.c:snmp.c:463:7: warning: 464implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]:
4080:info:build 20: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
4081:info:build       writeError(ERR_ERROR, "[%s] Failed to parse length or SNMP version.", MODULE_NAME);
4082:info:build   else if (strncmp(bufReceive, "554 ", 4) == 0) /* invalid domain name */      ^
4083:info:build                    ^~~~~~~~~~
4084:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/string.h:84:26: note: passing argument to parameter '__s1' here
4085:info:build int      strncmp(const char *__s1, const char *__s2, size_t __n);
4086:info:build                              ^
4087:info:build smtp-vrfy.c:466:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
4088:info:build     writeError(ERR_ERROR, "[%s] Invalid domain name: %s", MODULE_NAME, szDomain);
4089:info:build     ^
4090:info:build smtp-vrfy.c:472:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
4091:info:build     writeError(ERR_ERROR, "[%s] Unknown response code: %s", MODULE_NAME, bufReceive);
4092:info:build     ^
4093:info:build smtp-vrfy.c:479:16: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
4094:info:build     bufReceive = medusaReceiveLineDelay(hSocket, &nReceiveBufferSize, RECEIVE_DELAY_1, RECEIVE_DELAY_2);
4095:info:build                ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4096:info:build smtp-vrfy.c:481:14: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
4097:info:build   if (strstr(bufReceive, "421 Error: too many errors"))
4098:info:build              ^~~~~~~~~~
4099:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/string.h:89:26: note: passing argument to parameter '__big' here
4100:info:build char    *strstr(const char *__big, const char *__little);
4101:info:build                             ^
4102:info:build smtp-vrfy.c:483:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
4103:info:build     writeError(ERR_DEBUG_MODULE, "[%s] Too many errors. Restarting connection.", MODULE_NAME);
4104:info:build     ^
4105:info:build smtp-vrfy.c:487:3: warning: implicit declaration of function 'setPassResult' is invalid in C99 [-Wimplicit-function-declaration]
4106:info:build   setPassResult((*psLogin), szDomain);
4107:info:build   ^
4108:info:build snmp.c:484:9: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
4109:info:build         writeError(ERR_DEBUG_MODULE, "[%s] Located start of SNMP response (%d bytes).", MODULE_NAME, nLength);
4110:info:build         ^
4111:info:build smtp.c:351:3: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
4112:info:build snmp.c:497:3: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
4113:info:build   writeError(ERR_DEBUG_MODULE, "[%s] Retrieving SMTP banner.", MODULE_NAME); 
4114:info:build   ^
4115:info:build   writeError(ERR_DEBUG_MODULE, "[%s] Parsing SNMP response data.", MODULE_NAME);
4116:info:build   ^
4117:info:build smtp.c:365:11: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
4118:info:build   sprintf(bufSend, "EHLO %s\r\n", _psSessionData->szEHLO);
4119:info:build           ^~~~~~~
4120:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf'
4121:info:build   __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
4122:info:build                            ^~~
4123:info:build smtp.c:367:43: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
4124:info:build   if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0)
4125:info:build                                           ^~~~~~~
4126:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here
4127:info:build size_t   strlen(const char *__s);
4128:info:build                             ^
4129:info:build smtp.c:367:27: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
4130:info:build   if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0)
4131:info:build                           ^~~~~~~
4132:info:build ../../src/medusa-net.h:86:41: note: passing argument to parameter 'buf' here
4133:info:build extern int medusaSend(int socket, char *buf, int size, int options);
4134:info:build                                         ^
4135:info:build smtp.c:384:41: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
4136:info:build   if ((params->nUseSSL == 0) && (strstr(bufReceive, "STARTTLS") != NULL))
4137:info:build                                         ^~~~~~~~~~
4138:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/string.h:89:26: note: passing argument to parameter '__big' here
4139:info:build char    *strstr(const char *__big, const char *__little);
4140:info:build                             ^
4141:info:build smtp.c:392:13: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
4142:info:build     sprintf(bufSend, "STARTTLS\r\n");
4143:info:build             ^~~~~~~
4144:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf'
4145:info:build   __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
4146:info:build                            ^~~
4147:info:build smtp.c:393:45: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
4148:info:build     if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0)
4149:info:build                                             ^~~~~~~
4150:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here
4151:info:build size_t   strlen(const char *__s);
4152:info:build                             ^
4153:info:build smtp.c:393:29: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
4154:info:build     if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0)
4155:info:build                             ^~~~~~~
4156:info:build ../../src/medusa-net.h:86:41: note: passing argument to parameter 'buf' here
4157:info:build extern int medusaSend(int socket, char *buf, int size, int options);
4158:info:build                                         ^
4159:info:build snmp.c:605:3: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
4160:info:build   writeError(ERR_DEBUG_MODULE, "[%s] Sending GET request for system.sysLocation.", MODULE_NAME);
4161:info:build   ^
4162:info:build snmp.c:606:27: smtp.cwarning:: 424passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]:
4163:info:build 15: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
4164:info:build   if (medusaSend(hSocket, bufSend, nSendBufferSize - 1, 0) < 0)
4165:info:build                           ^~~~~~~
4166:info:build       sprintf(bufSend, "EHLO %s\r\n", _psSessionData->szEHLO);
4167:info:build               ^~~~~~~
4168:info:build ../../src/medusa-net.h:86:41/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/secure/_stdio.h:47:28:: note: passing argument to parameter 'buf' here
4169:info:build extern int medusaSend(int socket, char *buf, int size, int options);
4170:info:build                                         ^
4171:info:build  note: expanded from macro 'sprintf'
4172:info:build   __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
4173:info:build                            ^~~
4174:info:build smtp.c:426:47: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
4175:info:build       if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0)
4176:info:build                                               ^~~~~~~
4177:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here
4178:info:build size_t   strlen(const char *__s);
4179:info:build                             ^
4180:info:build smtp.c:426:31: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
4181:info:build       if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0)
4182:info:build                               ^~~~~~~
4183:info:build ../../src/medusa-net.h:86:41: note: passing argument to parameter 'buf' here
4184:info:build extern int medusaSend(int socket, char *buf, int size, int options);
4185:info:build                                         ^
4186:info:build smtp.c:449:20: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
4187:info:build   else if ((strstr(bufReceive,"AUTH=LOGIN") != NULL))
4188:info:build                    ^~~~~~~~~~
4189:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/string.h:89:26: note: passing argument to parameter '__big' here
4190:info:build char    *strstr(const char *__big, const char *__little);
4191:info:build                             ^
4192:info:build smtp.c:454:20: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
4193:info:build   else if ((strstr(bufReceive,"AUTH=PLAIN") != NULL))
4194:info:build                    ^~~~~~~~~~
4195:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/string.h:89:26: note: passing argument to parameter '__big' here
4196:info:build char    *strstr(const char *__big, const char *__little);
4197:info:build                             ^
4198:info:build smtp.c:459:20: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]snmp.c:675:11:
4199:info:build   else if ((strstr(bufReceive,"AUTH ") != NULL))
4200:info:build                    ^~~~~~~~~~
4201:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/string.h:89:26: note: passing argument to parameter '__big' here
4202:info:build char    *strstr(const char *__big, const char *__little);
4203:info:build                             ^
4204:info:build smtp.c:461:17: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
4205:info:build     if ((strstr(bufReceive,"LOGIN") != NULL))
4206:info:build                 ^~~~~~~~~~
4207:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/string.h:89:26: note: passing argument to parameter '__big' here
4208:info:build char    *strstr(const char *__big, const char *__little);
4209:info:build                             ^
4210:info:build smtp.c:466:22: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
4211:info:build     else if ((strstr(bufReceive,"PLAIN") != NULL))
4212:info:build                      ^~~~~~~~~~
4213:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/string.h:89:26: note: passing argument to parameter '__big' here
4214:info:build char    *strstr(const char *__big, const char *__little);
4215:info:build                             ^
4216:info:build smtp.c:471:22: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
4217:info:build     else if ((strstr(bufReceive,"NTLM") != NULL))
4218:info:build                      ^~~~~~~~~~
4219:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/string.h:89:26: note: passing argument to parameter '__big' here
4220:info:build char    *strstr(const char *__big, const char *__little);
4221:info:build                             ^
4222:info:build warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
4223:info:build   strncpy(bufSend + sizeof(snmpv1_a) + strlen(szPassword) + sizeof(snmpv1_w), szLocation, strlen(szLocation));
4224:info:build           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4225:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/secure/_string.h:124:28: note: expanded from macro 'strncpy'
4226:info:build                 __builtin___strncpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest))
4227:info:build                                          ^~~~
4228:info:build snmp.c:677:3: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
4229:info:build   writeError(ERR_DEBUG_MODULE, "[%s] Sending SET request for system.sysLocation.", MODULE_NAME);
4230:info:build   ^
4231:info:build snmp.c:678:27: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
4232:info:build   if (medusaSend(hSocket, bufSend, nSendBufferSize - 1, 0) < 0)
4233:info:build                           ^~~~~~~
4234:info:build ../../src/medusa-net.h:86:41: note: passing argument to parameter 'buf' here
4235:info:build extern int medusaSend(int socket, char *buf, int size, int options);
4236:info:build                                         ^
4237:info:build snmp.c:698:14: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
4238:info:build   bufReceive = medusaReceiveRawDelay(hSocket, &nReceiveBufferSize, _psSessionData->nReadTimeout, _psSessionData->nReadTimeout);
4239:info:build              ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4240:info:build snmp.c:701:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
4241:info:build     writeError(ERR_DEBUG_MODULE, "[%s] No data received. Possible incorrect community string.", MODULE_NAME);
4242:info:build     ^
4243:info:build snmp.c:708:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
4244:info:build     writeError(ERR_ERROR, "[%s] Responses received, however, no community strings were located.", MODULE_NAME);
4245:info:build     ^
4246:info:build snmp.c:713:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
4247:info:build     writeError(ERR_DEBUG_MODULE, "[%s] Creating password array for %d entries.", MODULE_NAME, *nPassCount);
4248:info:build     ^
4249:info:build snmp.c:722:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
4250:info:build     writeError(ERR_DEBUG_MODULE, "[%s] Retrieving data for response: %d.", MODULE_NAME, i+1);
4251:info:build     ^
4252:info:build smtp.c:505:3: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
4253:info:build   writeError(ERR_DEBUG_MODULE, "[%s] Initiating PLAIN Authentication Attempt.", MODULE_NAME);
4254:info:build   ^
4255:info:build smtp.c:510:11: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
4256:info:build   sprintf(bufSend, "AUTH PLAIN\r\n");
4257:info:build           ^~~~~~~
4258:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf'
4259:info:build   __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
4260:info:build                            ^~~
4261:info:build smtp.c:512:43: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
4262:info:build   if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0)
4263:info:build                                           ^~~~~~~
4264:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here
4265:info:build size_t   strlen(const char *__s);
4266:info:build                             ^
4267:info:build smtp.c:512:27: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
4268:info:build   if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0)
4269:info:build                           ^~~~~~~
4270:info:build ../../src/medusa-net.h:86:41: note: passing argument to parameter 'buf' here
4271:info:build extern int medusaSend(int socket, char *buf, int size, int options);
4272:info:build                                         ^
4273:info:build smtp.c:531:11: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
4274:info:build   strncpy(szTmpBuf, szLogin, strlen(szLogin));
4275:info:build           ^~~~~~~~
4276:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/secure/_string.h:124:28: note: expanded from macro 'strncpy'
4277:info:build                 __builtin___strncpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest))
4278:info:build                                          ^~~~
4279:info:build smtp.c:532:11: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
4280:info:build   strncpy(szTmpBuf + strlen(szLogin) + 1, szLogin, strlen(szLogin));
4281:info:build           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4282:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/secure/_string.h:124:28: note: ssh.c:102:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
4283:info:build expanded from macro 'strncpy'
4284:info:build     writeError(ERR_ERROR, "%s reports an error in summaryUsage() : ppszSummary must be NULL when called", MODULE_NAME);
4285:info:build     ^
4286:info:build                 __builtin___strncpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest))
4287:info:build                                          ^~~~
4288:info:build smtp.c:533:11: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
4289:info:build   strncpy(szTmpBuf + strlen(szLogin) + 1 + strlen(szLogin) + 1, szPassword, strlen(szPassword));
4290:info:build           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4291:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/secure/_string.h:124:28: note: expanded from macro 'strncpy'
4292:info:build                 __builtin___strncpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest))
4293:info:build                                          ^~~~
4294:info:build ssh.c:109:3: warning: implicit declaration of function 'writeVerbose' is invalid in C99 [-Wimplicit-function-declaration]
4295:info:build   writeVerbose(VB_NONE, "%s (%s) %s :: %s\n", MODULE_NAME, MODULE_VERSION, MODULE_AUTHOR, MODULE_SUMMARY_USAGE);
4296:info:build   ^
4297:info:build smtp.c:537:17: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
4298:info:build   base64_encode(szTmpBuf, nSendBufferSize, szTmpBuf64);
4299:info:build                 ^~~~~~~~
4300:info:build ./../medusa-utils.h:29:38: note: passing argument to parameter 'str' here
4301:info:build extern int base64_encode(const char *str, int length, char *b64store);
4302:info:build                                      ^
4303:info:build smtp.c:537:44: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
4304:info:build   base64_encode(szTmpBuf, nSendBufferSize, szTmpBuf64);
4305:info:build                                            ^~~~~~~~~~
4306:info:build ./../medusa-utils.h:29:61: note: passing argument to parameter 'b64store' here
4307:info:build extern int base64_encode(const char *str, int length, char *b64store);
4308:info:build                                                             ^
4309:info:build smtp.c:540:27: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
4310:info:build   bufSend = malloc(strlen(szTmpBuf64) + 2 + 1);
4311:info:build                           ^~~~~~~~~~
4312:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here
4313:info:build size_t   strlen(const char *__s);
4314:info:build                             ^
4315:info:build smtp.c:541:29: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
4316:info:build ssh.c:128:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
4317:info:build   memset(bufSend, 0, strlen(szTmpBuf64) + 2 + 1);
4318:info:build                             ^~~~~~~~~~
4319:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/secure/_string.h:76:33: note: expanded from macro 'memset'
4320:info:build     writeError(ERR_ERROR, "%s is expecting 0/1 parameters, but it was passed %d", MODULE_NAME, argc);
4321:info:build     ^
4322:info:build                 __builtin___memset_chk (dest, __VA_ARGS__, __darwin_obsz0 (dest))
4323:info:build                                               ^~~~~~~~~~~
4324:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here
4325:info:build ssh.c:132size_t   strlen(const char *__s);:
4326:info:build 5                            ^:
4327:info:build  warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
4328:info:build     writeError(ERR_DEBUG_MODULE, "OMG teh %s module has been called!!", MODULE_NAME);
4329:info:build     ^
4330:info:build smtp.c:543:11: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
4331:info:build   sprintf(bufSend, "%s\r\n", szTmpBuf64);
4332:info:build           ^~~~~~~
4333:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf'
4334:info:build   __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
4335:info:build                            ^~~
4336:info:build smtp.c:546:43: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
4337:info:build   if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0)
4338:info:build                                           ^~~~~~~
4339:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here
4340:info:build size_t   strlen(const char *__s);
4341:info:build                             ^
4342:info:build smtp.c:546:27: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
4343:info:build   if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0)
4344:info:build                           ^~~~~~~
4345:info:build ../../src/medusa-net.h:86:41: note: passing argument to parameter 'buf' here
4346:info:build extern int medusaSend(int socket, char *buf, int size, int options);
4347:info:build                                         ^
4348:info:build ssh.c:125:20: warning: result of comparison of constant 1 with boolean expression is always true [-Wtautological-constant-compare]
4349:info:build   if ( !(0 <= argc <= 1) )
4350:info:build          ~~~~~~~~~ ^  ~
4351:info:build smtp.c:577:3: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
4352:info:build   writeError(ERR_DEBUG_MODULE, "[%s] Initiating LOGIN Authentication Attempt.", MODULE_NAME);
4353:info:build   ^
4354:info:build ssh.c:200:7: warning: implicit declaration of function 'getNextCredSet' is invalid in C99 [-Wimplicit-function-declaration]
4355:info:build smtp.c:582:11: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
4356:info:build   if (getNextCredSet(psLogin, psCredSet) == FAILURE)
4357:info:build       ^
4358:info:build   sprintf(bufSend, "AUTH LOGIN\r\n");
4359:info:build           ^~~~~~~
4360:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf'
4361:info:build ssh.c:202:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
4362:info:build   __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
4363:info:build                            ^~~
4364:info:build     writeError(ERR_ERROR, "[%s] Error retrieving next credential set to test.", MODULE_NAME);
4365:info:build     ^
4366:info:build smtp.c:584:43: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
4367:info:build ssh.c:207:5  if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0):
4368:info:build                                            ^~~~~~~warning
4369:info:build : implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
4370:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here
4371:info:build size_t   strlen(const char *__s);
4372:info:build                             ^
4373:info:build smtp.c:584:27: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
4374:info:build     writeError(ERR_DEBUG_MODULE, "[%s] module started for host: %s user: %s", MODULE_NAME, psLogin->psServer->pHostIP, psCredSet->psUser->pUser);
4375:info:build     ^
4376:info:build   if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0)
4377:info:build                           ^~~~~~~
4378:info:build ../../src/medusa-net.h:86:41: note: passing argument to parameter 'buf' here
4379:info:build ssh.c:211:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
4380:info:build extern int medusaSend(int socket, char *buf, int size, int options);
4381:info:build                                         ^
4382:info:build     writeError(ERR_DEBUG_MODULE, "[%s] module started for host: %s - no more available users to test.", MODULE_NAME, psLogin->psServer->pHostIP);
4383:info:build     ^
4384:info:build smtp.c:599:34: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
4385:info:build   if (((szTmpBuf = (char*)strstr(bufReceive, "334 ")) == NULL) || ((szTmpBuf2 = (char*)index(szTmpBuf, '\r')) == NULL))
4386:info:build                                  ^~~~~~~~~~
4387:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/string.h:89:26: note: passing argument to parameter '__big' here
4388:info:build char    *strstr(const char *__big, const char *__little);
4389:info:build                             ^
4390:info:build smtp.c:599:18: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
4391:info:build   if (((szTmpBuf = (char*)strstr(bufReceive, "334 ")) == NULL) || ((szTmpBuf2 = (char*)index(szTmpBuf, '\r')) == NULL))
4392:info:build                  ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4393:info:build smtp.c:599:94: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
4394:info:build   if (((szTmpBuf = (char*)strstr(bufReceive, "334 ")) == NULL) || ((szTmpBuf2 = (char*)index(szTmpBuf, '\r')) == NULL))
4395:info:build                                                                                              ^~~~~~~~
4396:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/strings.h:73:25: note: passing argument to parameter here
4397:info:build char    *index(const char *, int) __POSIX_C_DEPRECATED(200112L);
4398:info:build                            ^
4399:info:build smtp.c:599:79: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
4400:info:build   if (((szTmpBuf = (char*)strstr(bufReceive, "334 ")) == NULL) || ((szTmpBuf2 = (char*)index(szTmpBuf, '\r')) == NULL))
4401:info:build                                                                               ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4402:info:build smtp.c:608:28: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
4403:info:build   szPrompt = malloc(strlen(szTmpBuf) + 1);
4404:info:build                            ^~~~~~~~
4405:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here
4406:info:build size_t   strlen(const char *__s);
4407:info:build                             ^
4408:info:build smtp.c:609:30: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
4409:info:build   memset(szPrompt, 0, strlen(szTmpBuf) + 1);
4410:info:build                              ^~~~~~~~
4411:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/secure/_string.h:76:33: note: expanded from macro 'memset'
4412:info:build                 __builtin___memset_chk (dest, __VA_ARGS__, __darwin_obsz0 (dest))
4413:info:build                                               ^~~~~~~~~~~
4414:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here
4415:info:build size_t   strlen(const char *__s);
4416:info:build                             ^
4417:info:build smtp.c:611:17: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
4418:info:build   base64_decode(szTmpBuf, szPrompt);
4419:info:build                 ^~~~~~~~
4420:info:build ./../medusa-utils.h:30:38: note: passing argument to parameter 'base64' here
4421:info:build extern int base64_decode(const char *base64, char *to);
4422:info:build                                      ^
4423:info:build smtp.c:611:27: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
4424:info:build   base64_decode(szTmpBuf, szPrompt);
4425:info:build                           ^~~~~~~~
4426:info:build ./../medusa-utils.h:30:52: note: passing argument to parameter 'to' here
4427:info:build extern int base64_decode(const char *base64, char *to);
4428:info:build                                                    ^
4429:info:build smtp.c:625:13: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
4430:info:build     sprintf(szLoginDomain, "%s\\%s", _psSessionData->szDomain, szLogin);
4431:info:build             ^~~~~~~~~~~~~
4432:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf'
4433:info:build   __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
4434:info:build                            ^~~
4435:info:build smtp.c:628:19: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
4436:info:build     szLoginDomain = szLogin;
4437:info:build                   ^ ~~~~~~~
4438:info:build smtp.c:632:32: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
4439:info:build   bufSend = malloc((2 * strlen(szLoginDomain) + 2) + 2 + 1);
4440:info:build                                ^~~~~~~~~~~~~
4441:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here
4442:info:build size_t   strlen(const char *__s);
4443:info:build                             ^
4444:info:build smtp.c:633:34: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
4445:info:build   memset(bufSend, 0, (2 * strlen(szLoginDomain) + 2) + 2 + 1);
4446:info:build                                  ^~~~~~~~~~~~~
4447:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/secure/_string.h:76:33: note: expanded from macro 'memset'
4448:info:build                 __builtin___memset_chk (dest, __VA_ARGS__, __darwin_obsz0 (dest))
4449:info:build                                               ^~~~~~~~~~~
4450:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here
4451:info:build size_t   strlen(const char *__s);
4452:info:build                             ^
4453:info:build smtp.c:634:39: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
4454:info:build   base64_encode(szLoginDomain, strlen(szLoginDomain), bufSend);
4455:info:build                                       ^~~~~~~~~~~~~
4456:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here
4457:info:build size_t   strlen(const char *__s);
4458:info:build                             ^
4459:info:build smtp.c:634:17: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
4460:info:build   base64_encode(szLoginDomain, strlen(szLoginDomain), bufSend);
4461:info:build                 ^~~~~~~~~~~~~
4462:info:build ./../medusa-utils.h:29:38: note: passing argument to parameter 'str' here
4463:info:build extern int base64_encode(const char *str, int length, char *b64store);
4464:info:build                                      ^
4465:info:build smtp.c:634:55: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
4466:info:build   base64_encode(szLoginDomain, strlen(szLoginDomain), bufSend);
4467:info:build                                                       ^~~~~~~
4468:info:build ./../medusa-utils.h:29:61: note: passing argument to parameter 'b64store' here
4469:info:build extern int base64_encode(const char *str, int length, char *b64store);
4470:info:build                                                             ^
4471:info:build smtp.c:635:11: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
4472:info:build   strncat(bufSend, "\r\n", 2);
4473:info:build           ^~~~~~~
4474:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/secure/_string.h:139:28: note: expanded from macro 'strncat'
4475:info:build                 __builtin___strncat_chk (dest, __VA_ARGS__, __darwin_obsz (dest))
4476:info:build                                          ^~~~
4477:info:build smtp.c:640:43: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
4478:info:build   if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0)
4479:info:build                                           ^~~~~~~
4480:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here
4481:info:build size_t   strlen(const char *__s);
4482:info:build                             ^
4483:info:build smtp.c:640:27: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
4484:info:build   if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0)
4485:info:build                           ^~~~~~~
4486:info:build ../../src/medusa-net.h:86:41: note: passing argument to parameter 'buf' here
4487:info:build extern int medusaSend(int socket, char *buf, int size, int options);
4488:info:build                                         ^
4489:info:build smtp.c:654:34: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
4490:info:build   if (((szTmpBuf = (char*)strstr(bufReceive, "334 ")) == NULL) || ((szTmpBuf2 = (char*)index(szTmpBuf, '\r')) == NULL))
4491:info:build                                  ^~~~~~~~~~
4492:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/string.h:89:26: note: passing argument to parameter '__big' here
4493:info:build char    *strstr(const char *__big, const char *__little);
4494:info:build                             ^
4495:info:build smtp.c:654:18: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
4496:info:build   if (((szTmpBuf = (char*)strstr(bufReceive, "334 ")) == NULL) || ((szTmpBuf2 = (char*)index(szTmpBuf, '\r')) == NULL))
4497:info:build                  ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4498:info:build smtp.c:654:94: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
4499:info:build   if (((szTmpBuf = (char*)strstr(bufReceive, "334 ")) == NULL) || ((szTmpBuf2 = (char*)index(szTmpBuf, '\r')) == NULL))
4500:info:build                                                                                              ^~~~~~~~
4501:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/strings.h:73:25: note: passing argument to parameter here
4502:info:build char    *index(const char *, int) __POSIX_C_DEPRECATED(200112L);
4503:info:build                            ^
4504:info:build smtp.c:654:79: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
4505:info:build In file included from ssh.c:227:
4506:info:build In file included from /opt/local/include/openssl/evp.h:16:
4507:info:build In file included from /opt/local/include/openssl/bio.h:20:
4508:info:build In file included from /opt/local/include/openssl/crypto.h:23:
4509:info:build /opt/local/include/openssl/safestack.h:159:1: error:   if (((szTmpBuf = (char*)strstr(bufReceive, "334 ")) == NULL) || ((szTmpBuf2 = (char*)index(szTmpBuf, '\r')) == NULL))function definition is not allowed here
4510:info:build                                                                               ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4511:info:build DEFINE_SPECIAL_STACK_OF(OPENSSL_STRING, char)
4512:info:build ^
4513:info:build /opt/local/include/openssl/safestack.h:129:42: note: expanded from macro 'DEFINE_SPECIAL_STACK_OF'
4514:info:build # define DEFINE_SPECIAL_STACK_OF(t1, t2) SKM_DEFINE_STACK_OF(t1, t2, t2)
4515:info:build                                          ^
4516:info:build smtp.c/opt/local/include/openssl/safestack.h:28:5: note: expanded from macro 'SKM_DEFINE_STACK_OF'
4517:info:build     { \
4518:info:build     ^
4519:info:build :663:28: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
4520:info:build /opt/local/include/openssl/safestack.h:159:1: error: function definition is not allowed here
4521:info:build /opt/local/include/openssl/safestack.h:129  szPrompt = malloc(strlen(szTmpBuf) + 1);:
4522:info:build 42                           ^~~~~~~~:
4523:info:build  note: expanded from macro 'DEFINE_SPECIAL_STACK_OF'
4524:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here
4525:info:build size_t   strlen(const char *__s);
4526:info:build                             ^
4527:info:build # define DEFINE_SPECIAL_STACK_OF(t1, t2) SKM_DEFINE_STACK_OF(t1, t2, t2)
4528:info:build                                          ^
4529:info:build /opt/local/include/openssl/safestack.h:32:5: note: expanded from macro 'SKM_DEFINE_STACK_OF'
4530:info:build     { \
4531:info:build     ^
4532:info:build /opt/local/include/openssl/safestack.hsmtp.c::159664::130::  errorwarning: : function definition is not allowed herepassing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
4533:info:build /opt/local/include/openssl/safestack.h:129:42: note: expanded from macro 'DEFINE_SPECIAL_STACK_OF'
4534:info:build   memset(szPrompt, 0, strlen(szTmpBuf) + 1);
4535:info:build                              ^~~~~~~~
4536:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/secure/_string.h:76:33: note: expanded from macro 'memset'
4537:info:build # define DEFINE_SPECIAL_STACK_OF(t1, t2) SKM_DEFINE_STACK_OF(t1, t2, t2)
4538:info:build                                          ^
4539:info:build /opt/local/include/openssl/safestack.h:36:5: note: expanded from macro 'SKM_DEFINE_STACK_OF'
4540:info:build     { \
4541:info:build     ^
4542:info:build                 __builtin___memset_chk (dest, __VA_ARGS__, __darwin_obsz0 (dest))
4543:info:build                                               ^~~~~~~~~~~
4544:info:build /opt/local/include/openssl/safestack.h:159:/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/string.h1::82 :error28: :function definition is not allowed here
4545:info:build note: passing argument to parameter '__s' here
4546:info:build /opt/local/include/openssl/safestack.h:129:42: note: expanded from macro 'DEFINE_SPECIAL_STACK_OF'
4547:info:build size_t   strlen(const char *__s);
4548:info:build                             ^
4549:info:build # define DEFINE_SPECIAL_STACK_OF(t1, t2) SKM_DEFINE_STACK_OF(t1, t2, t2)
4550:info:build                                          ^
4551:info:build /opt/local/include/openssl/safestack.h:40:5: note: expanded from macro 'SKM_DEFINE_STACK_OF'
4552:info:build     { \
4553:info:build     ^
4554:info:build smtp.c:666:17: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
4555:info:build /opt/local/include/openssl/safestack.h:159:1: error: function definition is not allowed here
4556:info:build /opt/local/include/openssl/safestack.h:  base64_decode(szTmpBuf, szPrompt);
4557:info:build                 ^~~~~~~~
4558:info:build ./../medusa-utils.h:30:38: note: passing argument to parameter 'base64' here
4559:info:build extern int base64_decode(const char *base64, char *to);
4560:info:build                                      ^
4561:info:build 129:42: note: expanded from macro 'DEFINE_SPECIAL_STACK_OF'
4562:info:build smtp.c:666:27: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
4563:info:build # define DEFINE_SPECIAL_STACK_OF(t1, t2) SKM_DEFINE_STACK_OF(t1, t2, t2)
4564:info:build                                          ^
4565:info:build   base64_decode(szTmpBuf, szPrompt);
4566:info:build                           ^~~~~~~~
4567:info:build /opt/local/include/openssl/safestack.h:44:5:./../medusa-utils.h :note: 30expanded from macro 'SKM_DEFINE_STACK_OF':
4568:info:build 52: note: passing argument to parameter 'to' here
4569:info:build     { \
4570:info:build     ^
4571:info:build /opt/local/include/openssl/safestack.h:159:1: error: function definition is not allowed hereextern int base64_decode(const char *base64, char *to);
4572:info:build                                                    ^
4573:info:build /opt/local/include/openssl/safestack.h:129:42: note: expanded from macro 'DEFINE_SPECIAL_STACK_OF'
4574:info:build # define DEFINE_SPECIAL_STACK_OF(t1, t2) SKM_DEFINE_STACK_OF(t1, t2, t2)
4575:info:build                                          ^
4576:info:build /opt/local/include/openssl/safestack.h:48:5: note: expanded from macro 'SKM_DEFINE_STACK_OF'
4577:info:build     { \
4578:info:build     ^
4579:info:build /opt/local/include/openssl/safestack.h:159:1: error: function definition is not allowed here
4580:info:build /opt/local/include/openssl/safestack.h:129:42: note: expanded from macro 'DEFINE_SPECIAL_STACK_OF'
4581:info:build # define DEFINE_SPECIAL_STACK_OF(t1, t2) SKM_DEFINE_STACK_OF(t1, t2, t2)
4582:info:build                                          ^
4583:info:build /opt/local/include/openssl/safestack.h:52:5: note: expanded from macro 'SKM_DEFINE_STACK_OF'
4584:info:build     { \
4585:info:build     ^
4586:info:build /opt/local/include/openssl/safestack.h:159:1: error: function definition is not allowed here
4587:info:build /opt/local/include/openssl/safestack.h:129:42: note: smtp.c:677:49expanded from macro 'DEFINE_SPECIAL_STACK_OF':
4588:info:build  warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
4589:info:build   base64_encode(szPassword, strlen(szPassword), bufSend);
4590:info:build                                                 ^~~~~~~# define DEFINE_SPECIAL_STACK_OF(t1, t2) SKM_DEFINE_STACK_OF(t1, t2, t2)
4591:info:build                                          ^
4592:info:build ./../medusa-utils.h:/opt/local/include/openssl/safestack.h29::5661::5 :note : notepassing argument to parameter 'b64store' here:
4593:info:build expanded from macro 'SKM_DEFINE_STACK_OF'
4594:info:build     { \
4595:info:build     ^
4596:info:build /opt/local/include/openssl/safestack.h:159:1: error: function definition is not allowed here
4597:info:build extern int base64_encode(const char *str, int length, char *b64store);
4598:info:build                                                             ^
4599:info:build /opt/local/include/openssl/safestack.h:129:42: note: expanded from macro 'DEFINE_SPECIAL_STACK_OF'
4600:info:build # define DEFINE_SPECIAL_STACK_OF(t1, t2) SKM_DEFINE_STACK_OF(t1, t2, t2)
4601:info:build                                          ^
4602:info:build /opt/local/include/openssl/safestack.h:60:5:smtp.c :note678: :expanded from macro 'SKM_DEFINE_STACK_OF'11
4603:info:build : warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
4604:info:build     { \
4605:info:build     ^
4606:info:build   strncat(bufSend, "\r\n", 2);
4607:info:build           ^~~~~~~/opt/local/include/openssl/safestack.h:159:1
4608:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/secure/_string.h:139:28: note: expanded from macro 'strncat'
4609:info:build                 __builtin___strncat_chk (dest, __VA_ARGS__, __darwin_obsz (dest))
4610:info:build                                          ^~~~
4611:info:build smtp.c:680:43: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
4612:info:build   if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0)
4613:info:build                                           ^~~~~~~
4614:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here
4615:info:build size_t   strlen(const char *__s);
4616:info:build                             ^
4617:info:build smtp.c:680:27: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
4618:info:build   if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0)
4619:info:build                           ^~~~~~~
4620:info:build ../../src/medusa-net.h:86:41: note: passing argument to parameter 'buf' here
4621:info:build extern int medusaSend(int socket, char *buf, int size, int options);
4622:info:build                                         ^
4623:info:build : error: function definition is not allowed here
4624:info:build /opt/local/include/openssl/safestack.h:129:42: note: expanded from macro 'DEFINE_SPECIAL_STACK_OF'
4625:info:build # define DEFINE_SPECIAL_STACK_OF(t1, t2) SKM_DEFINE_STACK_OF(t1, t2, t2)
4626:info:build                                          ^
4627:info:build /opt/local/include/openssl/safestack.h:64:5: note: expanded from macro 'SKM_DEFINE_STACK_OF'
4628:info:build     { \
4629:info:build     ^
4630:info:build /opt/local/include/openssl/safestack.h:159:1: error: function definition is not allowed here
4631:info:build /opt/local/include/openssl/safestack.h:129:42: note: expanded from macro 'DEFINE_SPECIAL_STACK_OF'
4632:info:build # define DEFINE_SPECIAL_STACK_OF(t1, t2) SKM_DEFINE_STACK_OF(t1, t2, t2)
4633:info:build                                          ^
4634:info:build /opt/local/include/openssl/safestack.h:69:5: note: expanded from macro 'SKM_DEFINE_STACK_OF'
4635:info:build     { \
4636:info:build     ^
4637:info:build /opt/local/include/openssl/safestack.h:159:1: error: function definition is not allowed here
4638:info:build /opt/local/include/openssl/safestack.h:129:42: note: expanded from macro 'DEFINE_SPECIAL_STACK_OF'
4639:info:build # define DEFINE_SPECIAL_STACK_OF(t1, t2) SKM_DEFINE_STACK_OF(t1, t2, t2)
4640:info:build                                          ^
4641:info:build /opt/local/include/openssl/safestack.h:73:5: note: expanded from macro 'SKM_DEFINE_STACK_OF'
4642:info:build     { \
4643:info:build     ^
4644:info:build /opt/local/include/openssl/safestack.h:159:1: error: function definition is not allowed here
4645:info:build /opt/local/include/openssl/safestack.h:129:42: note: expanded from macro 'DEFINE_SPECIAL_STACK_OF'
4646:info:build # define DEFINE_SPECIAL_STACK_OF(t1, t2) SKM_DEFINE_STACK_OF(t1, t2, t2)
4647:info:build                                          ^
4648:info:build /opt/local/include/openssl/safestack.h:77:5: note: expanded from macro 'SKM_DEFINE_STACK_OF'
4649:info:build     { \
4650:info:build     ^
4651:info:build /opt/local/include/openssl/safestack.h:159:1: error: function definition is not allowed here
4652:info:build /opt/local/include/openssl/safestack.h:129:42: note: expanded from macro 'DEFINE_SPECIAL_STACK_OF'
4653:info:build # define DEFINE_SPECIAL_STACK_OF(t1, t2) SKM_DEFINE_STACK_OF(t1, t2, t2)
4654:info:build                                          ^
4655:info:build /opt/local/include/openssl/safestack.h:81:5: note: expanded from macro 'SKM_DEFINE_STACK_OF'
4656:info:build     { \
4657:info:build     ^
4658:info:build /opt/local/include/openssl/safestack.h:159:1: error: function definition is not allowed here
4659:info:build /opt/local/include/openssl/safestack.h:129:42: note: expanded from macro 'DEFINE_SPECIAL_STACK_OF'
4660:info:build # define DEFINE_SPECIAL_STACK_OF(t1, t2) SKM_DEFINE_STACK_OF(t1, t2, t2)
4661:info:build                                          ^
4662:info:build /opt/local/include/openssl/safestack.h:85:5: note: expanded from macro 'SKM_DEFINE_STACK_OF'
4663:info:build     { \
4664:info:build     ^
4665:info:build /opt/local/include/openssl/safestack.h:159:1: error: function definition is not allowed here
4666:info:build /opt/local/include/openssl/safestack.h:129:42: note: expanded from macro 'DEFINE_SPECIAL_STACK_OF'
4667:info:build # define DEFINE_SPECIAL_STACK_OF(t1, t2) SKM_DEFINE_STACK_OF(t1, t2, t2)
4668:info:build                                          ^
4669:info:build /opt/local/include/openssl/safestack.h:89:5: note: expanded from macro 'SKM_DEFINE_STACK_OF'
4670:info:build     { \
4671:info:build     ^
4672:info:build /opt/local/include/openssl/safestack.h:159:1: error: function definition is not allowed here
4673:info:build /opt/local/include/openssl/safestack.h:129:42: note: expanded from macro 'DEFINE_SPECIAL_STACK_OF'
4674:info:build # define DEFINE_SPECIAL_STACK_OF(t1, t2) SKM_DEFINE_STACK_OF(t1, t2, t2)
4675:info:build                                          ^
4676:info:build /opt/local/include/openssl/safestack.h:93:5: note: expanded from macro 'SKM_DEFINE_STACK_OF'
4677:info:build     { \
4678:info:build     ^
4679:info:build /opt/local/include/openssl/safestack.h:159:1: error: function definition is not allowed here
4680:info:build /opt/local/include/openssl/safestack.h:129:42: note: expanded from macro 'DEFINE_SPECIAL_STACK_OF'
4681:info:build # define DEFINE_SPECIAL_STACK_OF(t1, t2) SKM_DEFINE_STACK_OF(t1, t2, t2)
4682:info:build                                          ^
4683:info:build /opt/local/include/openssl/safestack.h:97:5: note: expanded from macro 'SKM_DEFINE_STACK_OF'
4684:info:build     { \
4685:info:build     ^
4686:info:build /opt/local/include/openssl/safestack.h:159:1: error: function definition is not allowed here
4687:info:build /opt/local/include/openssl/safestack.h:129:42: note: expanded from macro 'DEFINE_SPECIAL_STACK_OF'
4688:info:build # define DEFINE_SPECIAL_STACK_OF(t1, t2) SKM_DEFINE_STACK_OF(t1, t2, t2)
4689:info:build                                          ^
4690:info:build /opt/local/include/openssl/safestack.h:101:5: note: expanded from macro 'SKM_DEFINE_STACK_OF'
4691:info:build     { \
4692:info:build     ^
4693:info:build fatal error: too many errors emitted, stopping now [-ferror-limit=]
4694:info:build smtp.c:703:3: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
4695:info:build   writeError(ERR_DEBUG_MODULE, "[%s] Initiating NTLM Authentication Attempt.", MODULE_NAME);
4696:info:build   ^
4697:info:build smtp.c:712:56: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
4698:info:build   base64_encode((char *)&sTmpReq, SmbLength(&sTmpReq), szTmpBuf64);
4699:info:build                                                        ^~~~~~~~~~
4700:info:build ./../medusa-utils.h:29:61: note: passing argument to parameter 'b64store' here
4701:info:build extern int base64_encode(const char *str, int length, char *b64store);
4702:info:build                                                             ^
4703:info:build smtp.c:715:28: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
4704:info:build   nSendBufferSize = strlen(szTmpBuf64) + 2;
4705:info:build                            ^~~~~~~~~~
4706:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here
4707:info:build size_t   strlen(const char *__s);
4708:info:build                             ^
4709:info:build smtp.c:718:11: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
4710:info:build   sprintf(bufSend, "AUTH NTLM %s\r\n", szTmpBuf64);
4711:info:build           ^~~~~~~
4712:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf'
4713:info:build   __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
4714:info:build                            ^~~
4715:info:build smtp.c:722:43: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
4716:info:build   if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0)
4717:info:build                                           ^~~~~~~
4718:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here
4719:info:build size_t   strlen(const char *__s);
4720:info:build                             ^
4721:info:build smtp.c:722:27: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
4722:info:build   if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0)
4723:info:build                           ^~~~~~~
4724:info:build ../../src/medusa-net.h:86:41: note: passing argument to parameter 'buf' here
4725:info:build extern int medusaSend(int socket, char *buf, int size, int options);
4726:info:build                                         ^
4727:info:build smtp.c:739:28: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
4728:info:build   szTmpBuf = ((char*)index(bufReceive, '\r'));
4729:info:build                            ^~~~~~~~~~
4730:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/strings.h:73:25: note: passing argument to parameter here
4731:info:build char    *index(const char *, int) __POSIX_C_DEPRECATED(200112L);
4732:info:build                            ^
4733:info:build smtp.c:739:12: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
4734:info:build   szTmpBuf = ((char*)index(bufReceive, '\r'));
4735:info:build            ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4736:info:build smtp.c:743:17: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
4737:info:build   base64_decode(bufReceive + 4, (char *)&sTmpChall);
4738:info:build                 ^~~~~~~~~~~~~~
4739:info:build ./../medusa-utils.h:30:38: note: passing argument to parameter 'base64' here
4740:info:build extern int base64_decode(const char *base64, char *to);
4741:info:build                                      ^
4742:info:build smtp.c:753:58: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
4743:info:build   base64_encode((char *)&sTmpResp, SmbLength(&sTmpResp), szTmpBuf64);
4744:info:build                                                          ^~~~~~~~~~
4745:info:build ./../medusa-utils.h:29:61: note: passing argument to parameter 'b64store' here
4746:info:build extern int base64_encode(const char *str, int length, char *b64store);
4747:info:build                                                             ^
4748:info:build smtp.c:756:28: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
4749:info:build   nSendBufferSize = strlen(szTmpBuf64) + 2;
4750:info:build                            ^~~~~~~~~~
4751:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here
4752:info:build size_t   strlen(const char *__s);
4753:info:build                             ^
4754:info:build smtp.c:759:11: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
4755:info:build   sprintf(bufSend, "%s\r\n", szTmpBuf64);
4756:info:build           ^~~~~~~
4757:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf'
4758:info:build   __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
4759:info:build                            ^~~
4760:info:build smtp.c:761:27: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
4761:info:build   if (medusaSend(hSocket, bufSend, nSendBufferSize, 0) < 0)
4762:info:build                           ^~~~~~~
4763:info:build ../../src/medusa-net.h:86:41: note: passing argument to parameter 'buf' here
4764:info:build extern int medusaSend(int socket, char *buf, int size, int options);
4765:info:build                                         ^
4766:info:build smtp.c:782:7: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
4767:info:build       writeError(ERR_DEBUG_MODULE, "[%s] Sending PLAIN Authentication.", MODULE_NAME);
4768:info:build       ^
4769:info:build smtp.c:799:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
4770:info:build     writeError(ERR_ERROR, "[%s] Failed during sending of authentication data.", MODULE_NAME);
4771:info:build     ^
4772:info:build smtp.c:801:5: warning: implicit declaration of function 'setPassResult' is invalid in C99 [-Wimplicit-function-declaration]
4773:info:build     setPassResult(*psLogin, szPassword);
4774:info:build     ^
4775:info:build smtp.c:805:3: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
4776:info:build   writeError(ERR_DEBUG_MODULE, "[%s] Retrieving server response.", MODULE_NAME);
4777:info:build   ^
4778:info:build smtp.c:815:14: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
4779:info:build   if (strstr(bufReceive,"235 ") != NULL)
4780:info:build              ^~~~~~~~~~
4781:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/string.h:89:26: note: passing argument to parameter '__big' here
4782:info:build char    *strstr(const char *__big, const char *__little);
4783:info:build                             ^
4784:info:build smtp.c:822:19: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
4785:info:build   else if (strstr(bufReceive,"435 ") != NULL)
4786:info:build                   ^~~~~~~~~~
4787:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/string.h:89:26: note: passing argument to parameter '__big' here
4788:info:build char    *strstr(const char *__big, const char *__little);
4789:info:build                             ^
4790:info:build smtp.c:829:19: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
4791:info:build   else if (strstr(bufReceive,"501 ") != NULL)
4792:info:build                   ^~~~~~~~~~
4793:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/string.h:89:26: note: passing argument to parameter '__big' here
4794:info:build char    *strstr(const char *__big, const char *__little);
4795:info:build                             ^
4796:info:build smtp.c:835:19: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
4797:info:build   else if (strstr(bufReceive,"535 ") != NULL)
4798:info:build                   ^~~~~~~~~~
4799:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/string.h:89:26: note: passing argument to parameter '__big' here
4800:info:build char    *strstr(const char *__big, const char *__little);
4801:info:build                             ^
4802:info:build smtp.c:849:3: warning: implicit declaration of function 'setPassResult' is invalid in C99 [-Wimplicit-function-declaration]
4803:info:build   setPassResult((*psLogin), szPassword);
4804:info:build   ^
4805:info:build telnet.c:117:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
4806:info:build     writeError(ERR_ERROR, "%s reports an error in summaryUsage() : ppszSummary must be NULL when called", MODULE_NAME);
4807:info:build     ^
4808:info:build telnet.c:124:3: warning: implicit declaration of function 'writeVerbose' is invalid in C99 [-Wimplicit-function-declaration]
4809:info:build   writeVerbose(VB_NONE, "%s (%s) %s :: %s\n", MODULE_NAME, MODULE_VERSION, MODULE_AUTHOR, MODULE_SUMMARY_USAGE);
4810:info:build   ^
4811:info:build telnet.c:146:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
4812:info:build     writeError(ERR_ERROR, "%s is expecting 0 parameters, but it was passed %d", MODULE_NAME, argc);
4813:info:build     ^
4814:info:build telnet.c:151:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
4815:info:build     writeError(ERR_DEBUG_MODULE, "OMG teh %s module has been called!!", MODULE_NAME);
4816:info:build     ^
4817:info:build telnet.c:143:20: warning: result of comparison of constant 3 with boolean expression is always true [-Wtautological-constant-out-of-range-compare]
4818:info:build   if ( !(0 <= argc <= 3) )
4819:info:build          ~~~~~~~~~ ^  ~
4820:info:build telnet.c:199:7: warning: implicit declaration of function 'getNextCredSet' is invalid in C99 [-Wimplicit-function-declaration]
4821:info:build   if (getNextCredSet(_psLogin, psCredSet) == FAILURE)
4822:info:build       ^
4823:info:build telnet.c:201:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
4824:info:build     writeError(ERR_ERROR, "[%s] Error retrieving next credential set to test.", MODULE_NAME);
4825:info:build     ^
4826:info:build telnet.c:206:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
4827:info:build     writeError(ERR_DEBUG_MODULE, "[%s] module started for host: %s user: %s", MODULE_NAME, _psLogin->psServer->pHostIP, psCredSet->psUser->pUser);
4828:info:build     ^
4829:info:build telnet.c:210:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
4830:info:build     writeError(ERR_DEBUG_MODULE, "[%s] module started for host: %s - no more available users to test.", MODULE_NAME);
4831:info:build     ^
4832:info:build telnet.c:239:9: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
4833:info:build         writeError(ERR_ERROR, "[%s] Failed to connect, port %d was not open on %s", MODULE_NAME, params.nPort, _psLogin->psServer->pHostIP);
4834:info:build         ^
4835:info:build telnet.c:241:9: warning: implicit declaration of function 'setPassResult' is invalid in C99 [-Wimplicit-function-declaration]
4836:info:build         setPassResult(_psLogin, psCredSet->pPass);
4837:info:build         ^
4838:info:build telnet.c:245:7: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
4839:info:build       writeError(ERR_DEBUG_MODULE, "Connected");
4840:info:build       ^
4841:info:build telnet.c:259:9: warning: implicit declaration of function 'setPassResult' is invalid in C99 [-Wimplicit-function-declaration]
4842:info:build         setPassResult(_psLogin, psCredSet->pPass);
4843:info:build         ^
4844:info:build telnet.c:326:19: warning: implicit declaration of function 'writeVerbose' is invalid in C99 [-Wimplicit-function-declaration]
4845:info:build                   writeVerbose(VB_NONE_FILE, "Password Prompt Only: %s\n", _psLogin->psServer->pHostIP);
4846:info:build                   ^
4847:info:build telnet.c:354:9: warning: implicit declaration of function 'setPassResult' is invalid in C99 [-Wimplicit-function-declaration]
4848:info:build         setPassResult(_psLogin, psCredSet->pPass);
4849:info:build         ^
4850:info:build telnet.c:433:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
4851:info:build     writeError(ERR_ERROR, "%s failed: socket was invalid", MODULE_NAME);
4852:info:build     ^
4853:info:build telnet.c:435:5: warning: implicit declaration of function 'setPassResult' is invalid in C99 [-Wimplicit-function-declaration]
4854:info:build     setPassResult(*login, szPassword);
4855:info:build     ^
4856:info:build telnet.c:448:7: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
4857:info:build       writeError(ERR_ERROR, "%s failed: medusaSend was not successful", MODULE_NAME);
4858:info:build       ^
4859:info:build telnet.c:450:7: warning: implicit declaration of function 'setPassResult' is invalid in C99 [-Wimplicit-function-declaration]
4860:info:build       setPassResult(*login, szPassword);
4861:info:build       ^
4862:info:build telnet.c:461:9: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
4863:info:build         writeError(ERR_ERROR, "%s: Telnet did not respond to the sending of the user name '%s' in a timely fashion - is it down or refusing connections?", MODULE_NAME, szLogin);
4864:info:build         ^
4865:info:build telnet.c:463:9: warning: implicit declaration of function 'setPassResult' is invalid in C99 [-Wimplicit-function-declaration]
4866:info:build         setPassResult(*login, szPassword);
4867:info:build         ^
4868:info:build telnet.c:473:9: warning: implicit declaration of function 'setPassResult' is invalid in C99 [-Wimplicit-function-declaration]
4869:info:build         setPassResult(*login, szPassword);
4870:info:build         ^
4871:info:build telnet.c:499:13: warning: implicit declaration of function 'setPassResult' is invalid in C99 [-Wimplicit-function-declaration]
4872:info:build             setPassResult(*login, szPassword);
4873:info:build             ^
4874:info:build telnet.c:511:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
4875:info:build     writeError(ERR_DEBUG_MODULE, "[%s] we are skipping a username", MODULE_NAME);
4876:info:build     ^
4877:info:build telnet.c:515:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
4878:info:build     writeError(ERR_ERROR, "[%s] No login prompt detected.", MODULE_NAME);
4879:info:build     ^
4880:info:build telnet.c:526:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
4881:info:build     writeError(ERR_ERROR, "%s failed: medusaSend was not successful", MODULE_NAME);
4882:info:build     ^
4883:info:build telnet.c:528:5: warning: implicit declaration of function 'setPassResult' is invalid in C99 [-Wimplicit-function-declaration]
4884:info:build     setPassResult(*login, szPassword);
4885:info:build     ^
4886:info:build telnet.c:536:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
4887:info:build     writeError(ERR_ERROR, "timeout waiting for response from server after sending password");
4888:info:build     ^
4889:info:build telnet.c:538:5: warning: implicit declaration of function 'setPassResult' is invalid in C99 [-Wimplicit-function-declaration]
4890:info:build     setPassResult(*login, szPassword);
4891:info:build     ^
4892:info:build telnet.c:557:7: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
4893:info:build       writeError(ERR_DEBUG_MODULE, "Server responded with Cisco \"Authentication failed.\" message.");
4894:info:build       ^
4895:info:build telnet.c:559:7: warning: implicit declaration of function 'setPassResult' is invalid in C99 [-Wimplicit-function-declaration]
4896:info:build       setPassResult(*login, szPassword);
4897:info:build       ^
4898:info:build telnet.c:564:7: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
4899:info:build       writeError(ERR_DEBUG_MODULE, "Server responded with Cisco \"Login invalid\" message.");
4900:info:build       ^
4901:info:build telnet.c:566:7: warning: implicit declaration of function 'setPassResult' is invalid in C99 [-Wimplicit-function-declaration]
4902:info:build       setPassResult(*login, szPassword);
4903:info:build       ^
4904:info:build telnet.c:574:7: warning: implicit declaration of function 'setPassResult' is invalid in C99 [-Wimplicit-function-declaration]
4905:info:build       setPassResult(*login, szPassword);
4906:info:build       ^
4907:info:build telnet.c:586:13: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
4908:info:build             writeError(ERR_DEBUG_MODULE, "unsuccessful login - user '%s' with a password of '%s'", szLogin, szPassword);
4909:info:build             ^
4910:info:build telnet.c:588:13: warning: implicit declaration of function 'setPassResult' is invalid in C99 [-Wimplicit-function-declaration]
4911:info:build             setPassResult(*login, szPassword);
4912:info:build             ^
4913:info:build telnet.c:601:13: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
4914:info:build             writeError(ERR_DEBUG_MODULE, "unsuccessful login with a password of '%s'", szPassword);
4915:info:build             ^
4916:info:build telnet.c:603:13: warning: implicit declaration of function 'setPassResult' is invalid in C99 [-Wimplicit-function-declaration]
4917:info:build             setPassResult(*login, szPassword);
4918:info:build             ^
4919:info:build telnet.c:615:3: warning: implicit declaration of function 'setPassResult' is invalid in C99 [-Wimplicit-function-declaration]
4920:info:build   setPassResult(*login, szPassword);
4921:info:build   ^
4922:info:build telnet.c:632:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
4923:info:build     writeError(ERR_ERROR, "%s failed: socket was invalid", MODULE_NAME);
4924:info:build     ^
4925:info:build telnet.c:634:5: warning: implicit declaration of function 'setPassResult' is invalid in C99 [-Wimplicit-function-declaration]
4926:info:build     setPassResult(*psLogin, szPassword);
4927:info:build     ^
4928:info:build telnet.c:670:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
4929:info:build     writeError(ERR_ERROR, "%s failed: medusaSend was not successful", MODULE_NAME);
4930:info:build     ^
4931:info:build telnet.c:672:5: warning: implicit declaration of function 'setPassResult' is invalid in C99 [-Wimplicit-function-declaration]
4932:info:build     setPassResult(*psLogin, szPassword);
4933:info:build     ^
4934:info:build telnet.c:680:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
4935:info:build     writeError(ERR_ERROR, "[%s] Timeout waiting for response from server after sending password", MODULE_NAME);
4936:info:build     ^
4937:info:build telnet.c:682:5: warning: implicit declaration of function 'setPassResult' is invalid in C99 [-Wimplicit-function-declaration]
4938:info:build     setPassResult(*psLogin, szPassword);
4939:info:build     ^
4940:info:build telnet.c:689:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
4941:info:build     writeError(ERR_ERROR, "[%s] %s", MODULE_NAME, szErrorMsg);
4942:info:build     ^
4943:info:build telnet.c:699:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
4944:info:build     writeError(ERR_ERROR, "[%s] %s", MODULE_NAME, szErrorMsg);
4945:info:build     ^
4946:info:build telnet.c:709:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
4947:info:build     writeError(ERR_ERROR, "[%s] %s", MODULE_NAME, szErrorMsg);
4948:info:build     ^
4949:info:build telnet.c:732:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
4950:info:build     writeError(ERR_ERROR, "[%s] %s", MODULE_NAME, szErrorMsg);
4951:info:build     ^
4952:info:build 9 warnings and 20 errors generated.
4953:info:build telnet.c:742:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
4954:info:build     writeError(ERR_ERROR, "[%s] %s", MODULE_NAME, szErrorMsg);
4955:info:build     ^
4956:info:build telnet.c:752:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
4957:info:build     writeError(ERR_ERROR, "[%s] %s", MODULE_NAME, szErrorMsg);
4958:info:build     ^
4959:info:build telnet.c:762:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
4960:info:build     writeError(ERR_ERROR, "[%s] %s", MODULE_NAME, szErrorMsg);
4961:info:build     ^
4962:info:build telnet.c:771:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
4963:info:build     writeError(ERR_INFO, "[%s] CPF1107 - Password not correct for user profile.", MODULE_NAME);
4964:info:build     ^
4965:info:build telnet.c:781:3: warning: implicit declaration of function 'setPassResult' is invalid in C99 [-Wimplicit-function-declaration]
4966:info:build   setPassResult((*psLogin), szPass);
4967:info:build   ^
4968:info:build telnet.c:797:3: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
4969:info:build   writeError(ERR_DEBUG_MODULE, "[%s] Sending IAC DO LOGOUT command.", MODULE_NAME);
4970:info:build   ^
4971:info:build telnet.c:798:27: warning: passing 'unsigned char [3]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
4972:info:build   if (medusaSend(hSocket, bufSend, 3, 0) < 0)
4973:info:build                           ^~~~~~~
4974:info:build ../../src/medusa-net.h:86:41: note: passing argument to parameter 'buf' here
4975:info:build extern int medusaSend(int socket, char *buf, int size, int options);
4976:info:build                                         ^
4977:info:build telnet.c:823:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
4978:info:build     writeError(ERR_DEBUG_MODULE, "Handling IAC Command...");
4979:info:build     ^
4980:info:build telnet.c:841:27: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
4981:info:build       medusaSend(hSocket, bufTemp, 3, 0);
4982:info:build                           ^~~~~~~
4983:info:build ../../src/medusa-net.h:86:41: note: passing argument to parameter 'buf' here
4984:info:build extern int medusaSend(int socket, char *buf, int size, int options);
4985:info:build                                         ^
4986:info:build telnet.c:846:27: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
4987:info:build       medusaSend(hSocket, bufTemp, 3, 0);
4988:info:build                           ^~~~~~~
4989:info:build ../../src/medusa-net.h:86:41: note: passing argument to parameter 'buf' here
4990:info:build extern int medusaSend(int socket, char *buf, int size, int options);
4991:info:build                                         ^
4992:info:build telnet.c:854:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
4993:info:build     writeError(ERR_DEBUG_MODULE, "Getting more data");
4994:info:build     ^
4995:info:build make[3]: *** [ssh.o] Error 1
4996:info:build make[3]: *** Waiting for unfinished jobs....
4997:info:build 120 warnings generated.
4998:info:build mv -f .deps/pop3.Tpo .deps/pop3.Po
4999:info:build svn.c:92:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
5000:info:build     writeError(ERR_ERROR, "%s reports an error in summaryUsage() : ppszSummary must be NULL when called", MODULE_NAME);
5001:info:build     ^
5002:info:build svn.c:99:3: warning: implicit declaration of function 'writeVerbose' is invalid in C99 [-Wimplicit-function-declaration]
5003:info:build   writeVerbose(VB_NONE, "%s (%s) %s :: %s\n", MODULE_NAME, MODULE_VERSION, MODULE_AUTHOR, MODULE_SUMMARY_USAGE);
5004:info:build   ^
5005:info:build svn.c:121:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
5006:info:build     writeError(ERR_ERROR, "%s is expecting 0 parameters, but it was passed %d", MODULE_NAME, argc);
5007:info:build     ^
5008:info:build svn.c:125:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
5009:info:build     writeError(ERR_DEBUG_MODULE, "OMG teh %s module has been called!!", MODULE_NAME);
5010:info:build     ^
5011:info:build svn.c:118:20: warning: result of comparison of constant 3 with boolean expression is always true [-Wtautological-constant-out-of-range-compare]
5012:info:build   if ( !(0 <= argc <= 3) )
5013:info:build          ~~~~~~~~~ ^  ~
5014:info:build svn.c:172:7: warning: implicit declaration of function 'getNextCredSet' is invalid in C99 [-Wimplicit-function-declaration]
5015:info:build   if (getNextCredSet(psLogin, psCredSet) == FAILURE)
5016:info:build       ^
5017:info:build svn.c:174:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
5018:info:build     writeError(ERR_ERROR, "[%s] Error retrieving next credential set to test.", MODULE_NAME);
5019:info:build     ^
5020:info:build svn.c:179:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
5021:info:build     writeError(ERR_DEBUG_MODULE, "[%s] module started for host: %s user: %s", MODULE_NAME, psLogin->psServer->pHostIP, psCredSet->psUser->pUser);
5022:info:build     ^
5023:info:build svn.c:183:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
5024:info:build     writeError(ERR_DEBUG_MODULE, "[%s] module started for host: %s - no more available users to test.", MODULE_NAME);
5025:info:build     ^
5026:info:build svn.c:206:3: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
5027:info:build   writeError(ERR_DEBUG_MODULE, "[%s] Set URL: %s", MODULE_NAME, _psSessionData->szURL);
5028:info:build   ^
5029:info:build 48 warnings generated.
5030:info:build svn.c:297:7: warning: implicit declaration of function 'svn_cmdline_init' is invalid in C99 [-Wimplicit-function-declaration]
5031:info:build   if (svn_cmdline_init ("MEDUSA", stderr) != EXIT_SUCCESS)
5032:info:build       ^
5033:info:build svn.c:299:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
5034:info:build     writeError(ERR_ERROR, "[%s] LIBSVN svn_cmdline_init() Function Failed.", MODULE_NAME);
5035:info:build     ^
5036:info:build svn.c:307:14: warning: 'svn_client_create_context' is deprecated [-Wdeprecated-declarations]
5037:info:build   if ((err = svn_client_create_context (&ctx, pool)))
5038:info:build              ^
5039:info:build /opt/local/include/subversion-1/svn_client.h:1115:1: note: 'svn_client_create_context' has been explicitly marked deprecated here
5040:info:build SVN_DEPRECATED
5041:info:build ^
5042:info:build /opt/local/include/subversion-1/svn_types.h:58:42: note: expanded from macro 'SVN_DEPRECATED'
5043:info:build #   define SVN_DEPRECATED __attribute__((deprecated))
5044:info:build                                          ^
5045:info:build svn.c:309:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
5046:info:build     writeError(ERR_ERROR, "[%s] LIBSVN svn_client_create_context() Function Failed.", MODULE_NAME);
5047:info:build     ^
5048:info:build svn.c:336:9: warning: 'svn_client_ls' is deprecated [-Wdeprecated-declarations]
5049:info:build   err = svn_client_ls (&dirents, _psSessionData->szURL, &revision, FALSE, ctx, pool);
5050:info:build         ^
5051:info:build /opt/local/include/subversion-1/svn_client.h:6910:1: note: 'svn_client_ls' has been explicitly marked deprecated here
5052:info:build SVN_DEPRECATED
5053:info:build ^
5054:info:build /opt/local/include/subversion-1/svn_types.h:58:42: note: expanded from macro 'SVN_DEPRECATED'
5055:info:build #   define SVN_DEPRECATED __attribute__((deprecated))
5056:info:build                                          ^
5057:info:build svn.c:342:7: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
5058:info:build       writeError(ERR_ERROR, "[%s] The following SVN user does not appear to exist: %s", MODULE_NAME, szLogin);
5059:info:build       ^
5060:info:build svn.c:348:7: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
5061:info:build       writeError(ERR_DEBUG_MODULE, "[%s] Login attempt failed.", MODULE_NAME);
5062:info:build       ^
5063:info:build svn.c:354:7: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
5064:info:build       writeError(ERR_DEBUG_MODULE, "[%s] Access refused. Unknown error: %s", MODULE_NAME, err->message);
5065:info:build       ^
5066:info:build svn.c:361:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
5067:info:build     writeError(ERR_ERROR, "[%s] Authentication Error (%d): %s.", MODULE_NAME, err->apr_err, err->message);
5068:info:build     ^
5069:info:build svn.c:367:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
5070:info:build     writeError(ERR_DEBUG_MODULE, "%s : Login attempt successful.", MODULE_NAME);
5071:info:build     ^
5072:info:build svn.c:372:3: warning: implicit declaration of function 'setPassResult' is invalid in C99 [-Wimplicit-function-declaration]
5073:info:build   setPassResult((*psLogin), szPassword);
5074:info:build   ^
5075:info:build mv -f .deps/smtp-vrfy.Tpo .deps/smtp-vrfy.Po
5076:info:build 30 warnings generated.
5077:info:build 21 warnings generated.
5078:info:build mv -f .deps/snmp.Tpo .deps/snmp.Po
5079:info:build mv -f .deps/svn.Tpo .deps/svn.Po
5080:info:build 99 warnings generated.
5081:info:build mv -f .deps/smtp.Tpo .deps/smtp.Po
5082:info:build 60 warnings generated.
5083:info:build mv -f .deps/telnet.Tpo .deps/telnet.Po
5084:info:build 56 warnings generated.
5085:info:build mv -f .deps/smbnt.Tpo .deps/smbnt.Po
5086:info:build make[3]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_security_medusa/medusa/work/medusa-2.1.1/src/modsrc'
5087:info:build make[2]: *** [all-recursive] Error 1
5088:info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_security_medusa/medusa/work/medusa-2.1.1/src'
5089:info:build make[1]: *** [all-recursive] Error 1
5090:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_security_medusa/medusa/work/medusa-2.1.1'
5091:info:build make: *** [all] Error 2
5092:info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_security_medusa/medusa/work/medusa-2.1.1'
5093:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_security_medusa/medusa/work/medusa-2.1.1" && /usr/bin/make -j8 -w all
5094:info:build Exit code: 2
5095:error:build Failed to build medusa: command execution failed
5096:debug:build Error code: CHILDSTATUS 80198 2
5097:debug:build Backtrace: command execution failed
5098:debug:build     while executing
5099:debug:build "system {*}$notty {*}$nice $fullcmdstring"
5100:debug:build     invoked from within
5101:debug:build "command_exec build"
5102:debug:build     (procedure "portbuild::build_main" line 8)
5103:debug:build     invoked from within
5104:debug:build "$procedure $targetname"
5105:error:build See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_security_medusa/medusa/main.log for details.