mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-30 02:37:28 +02:00
Fix for error: unused function 'MonthStr'
This commit is contained in:
@ -27126,6 +27126,8 @@ WOLFSSL_API WOLFSSL_ASN1_TIME *wolfSSL_ASN1_TIME_set(WOLFSSL_ASN1_TIME *s, time_
|
|||||||
}
|
}
|
||||||
#endif /* !NO_WOLFSSL_STUB */
|
#endif /* !NO_WOLFSSL_STUB */
|
||||||
|
|
||||||
|
#ifndef NO_BIO
|
||||||
|
|
||||||
/* Return the month as a string.
|
/* Return the month as a string.
|
||||||
*
|
*
|
||||||
* n The number of the month as a two characters (1 based).
|
* n The number of the month as a two characters (1 based).
|
||||||
@ -27139,7 +27141,6 @@ static WC_INLINE const char* MonthStr(const char* n)
|
|||||||
return monthStr[(n[0] - '0') * 10 + (n[1] - '0') - 1];
|
return monthStr[(n[0] - '0') * 10 + (n[1] - '0') - 1];
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifndef NO_BIO
|
|
||||||
int wolfSSL_ASN1_GENERALIZEDTIME_print(WOLFSSL_BIO* bio,
|
int wolfSSL_ASN1_GENERALIZEDTIME_print(WOLFSSL_BIO* bio,
|
||||||
const WOLFSSL_ASN1_GENERALIZEDTIME* asnTime)
|
const WOLFSSL_ASN1_GENERALIZEDTIME* asnTime)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user