Skip to content

Commit 9852cd6

Browse files
committed
Removing no longer needed extern declaration of br_ssl_engine_fail.
1 parent d09b90c commit 9852cd6

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/tls/BearSSLClient.cpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -321,11 +321,6 @@ int BearSSLClient::connectSSL(const char* host)
321321

322322
// #define DEBUGSERIAL Serial
323323

324-
/* Define the prototype so that it can be found by the compiler,
325-
* the correct function is then assigned at link time.
326-
*/
327-
extern "C" void br_ssl_engine_fail(br_ssl_engine_context *rc, int err);
328-
329324
int BearSSLClient::clientRead(void *ctx, unsigned char *buf, size_t len)
330325
{
331326
if (BearSSLClient::_sslio_closing) {

0 commit comments

Comments
 (0)