mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-31 19:24:42 +02:00
Merge pull request #2688 from kaleb-himes/GH2552
use const to declare array rather than variable sz - VS doesn't like …
This commit is contained in:
@@ -8500,7 +8500,7 @@ int wolfSSL_X509V3_EXT_print(WOLFSSL_BIO *out, WOLFSSL_X509_EXTENSION *ext,
|
|||||||
int nid;
|
int nid;
|
||||||
const int sz = CTC_NAME_SIZE*2;
|
const int sz = CTC_NAME_SIZE*2;
|
||||||
int rc = WOLFSSL_FAILURE;
|
int rc = WOLFSSL_FAILURE;
|
||||||
char tmp[sz];
|
char tmp[CTC_NAME_SIZE*2];
|
||||||
WOLFSSL_ENTER("wolfSSL_X509V3_EXT_print");
|
WOLFSSL_ENTER("wolfSSL_X509V3_EXT_print");
|
||||||
|
|
||||||
if ((out == NULL) || (ext == NULL)) {
|
if ((out == NULL) || (ext == NULL)) {
|
||||||
|
Reference in New Issue
Block a user