mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-30 10:47:28 +02:00
Fix BIO_free_all return type
This commit is contained in:
@ -16601,7 +16601,7 @@ int wolfSSL_set_compression(WOLFSSL* ssl)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
int wolfSSL_BIO_free_all(WOLFSSL_BIO* bio)
|
void wolfSSL_BIO_free_all(WOLFSSL_BIO* bio)
|
||||||
{
|
{
|
||||||
WOLFSSL_ENTER("BIO_free_all");
|
WOLFSSL_ENTER("BIO_free_all");
|
||||||
while (bio) {
|
while (bio) {
|
||||||
@ -16609,7 +16609,6 @@ int wolfSSL_set_compression(WOLFSSL* ssl)
|
|||||||
wolfSSL_BIO_free(bio);
|
wolfSSL_BIO_free(bio);
|
||||||
bio = next;
|
bio = next;
|
||||||
}
|
}
|
||||||
return 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -1371,7 +1371,7 @@ WOLFSSL_API WOLFSSL_BIO* wolfSSL_BIO_new(WOLFSSL_BIO_METHOD*);
|
|||||||
#endif
|
#endif
|
||||||
WOLFSSL_API int wolfSSL_BIO_free(WOLFSSL_BIO*);
|
WOLFSSL_API int wolfSSL_BIO_free(WOLFSSL_BIO*);
|
||||||
WOLFSSL_API void wolfSSL_BIO_vfree(WOLFSSL_BIO*);
|
WOLFSSL_API void wolfSSL_BIO_vfree(WOLFSSL_BIO*);
|
||||||
WOLFSSL_API int wolfSSL_BIO_free_all(WOLFSSL_BIO*);
|
WOLFSSL_API void wolfSSL_BIO_free_all(WOLFSSL_BIO*);
|
||||||
WOLFSSL_API int wolfSSL_BIO_gets(WOLFSSL_BIO* bio, char* buf, int sz);
|
WOLFSSL_API int wolfSSL_BIO_gets(WOLFSSL_BIO* bio, char* buf, int sz);
|
||||||
WOLFSSL_API int wolfSSL_BIO_puts(WOLFSSL_BIO* bio, const char* buf);
|
WOLFSSL_API int wolfSSL_BIO_puts(WOLFSSL_BIO* bio, const char* buf);
|
||||||
WOLFSSL_API WOLFSSL_BIO* wolfSSL_BIO_next(WOLFSSL_BIO* bio);
|
WOLFSSL_API WOLFSSL_BIO* wolfSSL_BIO_next(WOLFSSL_BIO* bio);
|
||||||
|
Reference in New Issue
Block a user