<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;" dir="ltr">
<p style="margin-top:0;margin-bottom:0">Hi Tobias,</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">Thanks. The version of boringssl on strongswan.org has not been updated for about the same amount of time as the openssl on strongswan.org.
<br>
</p>
<p style="margin-top:0;margin-bottom:0">Would Google also reject app compiled with this version of boringssl when uploading to Play?</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">Building with the Android's build tools (Android repo, and not just NDK), the system's boringssl library is built and the object files for 'libcrypto' goes to the common output directory path:<br>
</p>
<p style="margin-top:0;margin-bottom:0"><span>./obj/SHARED_LIBRARIES/libcrypto_intermediates</span></p>
<p style="margin-top:0;margin-bottom:0"><span>Even for static lib build, the non-system copy of any library sharing the same lib name would normally write to the same output path. Perhaps there is a different build setup without the visibility to the system's
copy of libcrytpo so there is no issue of paths collision?</span></p>
<p style="margin-top:0;margin-bottom:0"><span><br>
</span></p>
<p style="margin-top:0;margin-bottom:0"><span>Thanks,</span></p>
<p style="margin-top:0;margin-bottom:0"><span>Peter<br>
</span></p>
</div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Tobias Brunner <tobias@strongswan.org><br>
<b>Sent:</b> Wednesday, October 24, 2018 12:23:13 AM<br>
<b>To:</b> Peter Hsiang; users@lists.strongswan.org<br>
<b>Subject:</b> Re: [strongSwan] Which version of openssl to use with strongswan</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt;">
<div class="PlainText">Hi Peter,<br>
<br>
> Do we have porting guidelines for integrating strongswan with boringssl for Android P?<br>
<br>
Nope. You shouldn't use the system's libraries from an app anyway.<br>
<br>
> I see there is an older version of boringssl <a href="https://git.strongswan.org/?p=android-ndk-boringssl.git;a=log">
https://git.strongswan.org/?p=android-ndk-boringssl.git;a=log</a><br>
<br>
That's exactly what I was referring you to.<br>
<br>
> Would this work on Android P, and would it co-exist with the copy already in Android P (sharing the same libcrypto_static.a object files name space)?<br>
<br>
The openssl plugin (or rather libstrongswan) links that version<br>
statically, which doesn't seems to conflict with anything the Java part<br>
does.<br>
<br>
Regards,<br>
Tobias<br>
</div>
</span></font></div>
<DIV>
<HR>
</DIV>
<DIV>This email message is for the sole use of the intended recipient(s) and may
contain confidential information. Any unauthorized review, use, disclosure
or distribution is prohibited. If you are not the intended recipient,
please contact the sender by reply email and destroy all copies of the original
message. </DIV>
<DIV>
<HR>
</DIV>
</body>
</html>