Hello Ian,
so .. as far as I know, linking against a DLL (Windows) will
import some glue code from the library. Meaning that you ship some
code from the DLL. This is different on ELF based systems, where
the linking is done when starting the application on the target
machine.
There is one special case here for Windows. You can open a DLL
programmatically and fetch the function pointer out of the
library, as Plug-Ins do it. Then there would be no glue code being
imported.
I am also not sure how the situation looks like on Mac OS X.
Statically linking is like distributing the binary itself. But
this would seem to be out of the question anyway.
So maybe we just do need a common sense from EMO about DLLs on
Windows?!
Jens
On 04/08/2016 04:34 PM, Ian Craggs wrote:
Jens,
"And no binary versions of Paho will be distributed which have
this feature enabled."
I'd like to clarify what this means. We have two versions of the
client library, one with no TLS capability, which does not link to
OpenSSL and will work without it. Conditional compilation of the
code is used to exclude the TLS calls where desired.
The other, TLS enabled version, links to OpenSSL, and OpenSSL is
required on the machine for that version to run. Does this mean
that we could not ship that binary? There are a couple of other
existing approved CQs relating to OpenSSL, which are also
works-with:
https://dev.eclipse.org/ipzilla/show_bug.cgi?id=8766
(Eclipse Titan)
https://dev.eclipse.org/ipzilla/show_bug.cgi?id=1706
(Eclipse Subversive)
for which I'm guessing that restriction (if I understood
correctly) doesn't apply.
Thanks
Ian
On 04/08/2016 08:09 AM, Jens Reimann
wrote:
Paho requests the use of OpenSSL [1].
Paho will only compile in this feature if it is available on the target
machine. Normal functionality of Paho (without TLS/SSL encryption) is
supported even without OpenSSL. The source code of OpenSSL will not be
checked in. And no binary versions of Paho will be distributed which
have this feature enabled.
+1 from me for works-with
Jens
[1] http://dev.eclipse.org/ipzilla/show_bug.cgi?id=10814
_______________________________________________
iot-pmc mailing list
iot-pmc@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/iot-pmc
--
Ian Craggs
icraggs@xxxxxxxxxx IBM United Kingdom
Paho Project Lead; Committer on Mosquitto
_______________________________________________
iot-pmc mailing list
iot-pmc@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/iot-pmc
--
IBH SYSTEMS GmbH
D-85235 Pfaffenhofen an der Glonn
Läutenring 43
Geschäftsführer / CEO: Dr. Thomas Heitzig
Amtsgericht München
Handelsregister Nummer HRB 197959
USt ID: DE267945175
Office Munich
D 80992 München
Agnes-Pockels-Bogen 1
T +49 89 18 9 17 49 0
The information transmitted is intended only for the person or entity
to which it is addressed and may contain confidential and/or pivileged
material. Any review, retransmission, dissemination or other use of,
or taking of any action in reliance upon, this information by persons
or entities other than the intended recipient is prohibited. If you
received this in error, please contact the sender and delete the
material from any computer.
|