mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-08-02 04:04:39 +02:00
use extension free function with opensslextra and remove debug printf
This commit is contained in:
@@ -24799,7 +24799,7 @@ void wolfSSL_sk_pop_free(WOLF_STACK_OF(WOLFSSL_ASN1_OBJECT)* sk,
|
|||||||
#endif
|
#endif
|
||||||
break;
|
break;
|
||||||
case STACK_TYPE_X509_EXT:
|
case STACK_TYPE_X509_EXT:
|
||||||
#ifdef OPENSSL_ALL
|
#if defined(OPENSSL_ALL) || defined(OPENSSL_EXTRA)
|
||||||
func = (wolfSSL_sk_freefunc)wolfSSL_X509_EXTENSION_free;
|
func = (wolfSSL_sk_freefunc)wolfSSL_X509_EXTENSION_free;
|
||||||
#endif
|
#endif
|
||||||
break;
|
break;
|
||||||
@@ -29952,7 +29952,6 @@ unsigned long wolfSSL_ERR_peek_last_error_line(const char **file, int *line)
|
|||||||
WOLFSSL_MSG("Issue peeking at error node in queue");
|
WOLFSSL_MSG("Issue peeking at error node in queue");
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
printf("ret from peek error node = %d\n", ret);
|
|
||||||
#if defined(OPENSSL_ALL) || defined(WOLFSSL_NGINX)
|
#if defined(OPENSSL_ALL) || defined(WOLFSSL_NGINX)
|
||||||
if (ret == -ASN_NO_PEM_HEADER)
|
if (ret == -ASN_NO_PEM_HEADER)
|
||||||
return (ERR_LIB_PEM << 24) | PEM_R_NO_START_LINE;
|
return (ERR_LIB_PEM << 24) | PEM_R_NO_START_LINE;
|
||||||
|
Reference in New Issue
Block a user