mirror of
https://github.com/apple/swift-nio-ssl
synced 2026-11-22 04:30:44 +00:00
As a standard pattern, the vendoring script needed some changes, as did our internal code. The biggest change here is that BoringSSL has changed its name mangling scheme. This causes us to no longer need to explicitly write the prefix out anymore: in fact, doing that causes compiler errors. So this patch rewrites the code to resolve that issue. Along the way, I've also added some checks for making sure the name mangling is correct.
14 lines
442 B
Diff
14 lines
442 B
Diff
diff --git a/Sources/CNIOBoringSSL/crypto/evp/print.cc b/Sources/CNIOBoringSSL/crypto/evp/print.cc
|
|
index 89ceb32..5e6fb2f 100644
|
|
--- a/Sources/CNIOBoringSSL/crypto/evp/print.cc
|
|
+++ b/Sources/CNIOBoringSSL/crypto/evp/print.cc
|
|
@@ -12,6 +12,8 @@
|
|
// See the License for the specific language governing permissions and
|
|
// limitations under the License.
|
|
|
|
+#include <inttypes.h>
|
|
+
|
|
#include <CNIOBoringSSL_evp.h>
|
|
|
|
#include <CNIOBoringSSL_bio.h>
|