fix for unused variable

This commit is contained in:
Jacob Barthelmeh
2018-02-15 15:08:33 -07:00
parent 801ce67fc9
commit 94b7ab92f3
3 changed files with 30 additions and 21 deletions

View File

@@ -15039,8 +15039,8 @@ static void ExternalFreeX509(WOLFSSL_X509* x509)
}
}
void wolfSSL_FreeX509(WOLFSSL_X509* x509)
/* Frees an external WOLFSSL_X509 structure */
void wolfSSL_X509_free(WOLFSSL_X509* x509)
{
WOLFSSL_ENTER("wolfSSL_FreeX509");
ExternalFreeX509(x509);
@@ -16199,14 +16199,6 @@ const char* wolfSSL_get_curve_name(WOLFSSL* ssl)
#endif
#if !defined(NO_CERTS)
/* Frees an external WOLFSSL_X509 structure */
void wolfSSL_X509_free(WOLFSSL_X509* x509)
{
WOLFSSL_ENTER("wolfSSL_X509_free");
ExternalFreeX509(x509);
}
/* returns a pointer to a new WOLFSSL_X509 structure on success and NULL on
* fail
*/