From e09d14f6f85436efabae92c914716476543b3a26 Mon Sep 17 00:00:00 2001 From: kaleb-himes Date: Mon, 5 Jan 2015 10:50:33 -0700 Subject: [PATCH] remove wc_ from non-public functions --- wolfcrypt/src/asn.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/wolfcrypt/src/asn.c b/wolfcrypt/src/asn.c index 80f3f0506..930d7690e 100644 --- a/wolfcrypt/src/asn.c +++ b/wolfcrypt/src/asn.c @@ -6088,7 +6088,7 @@ int wc_MakeSelfCert(Cert* cert, byte* buffer, word32 buffSz, RsaKey* key, RNG* r #ifdef WOLFSSL_ALT_NAMES /* Set Alt Names from der cert, return 0 on success */ -static int wc_SetAltNamesFromCert(Cert* cert, const byte* der, int derSz) +static int SetAltNamesFromCert(Cert* cert, const byte* der, int derSz) { int ret; #ifdef WOLFSSL_SMALL_STACK @@ -6388,7 +6388,7 @@ int wc_SetAltNames(Cert* cert, const char* file) return MEMORY_E; } derSz = wolfSSL_PemCertToDer(file, der, EIGHTK_BUF); - ret = wc_SetAltNamesFromCert(cert, der, derSz); + ret = SetAltNamesFromCert(cert, der, derSz); XFREE(der, NULL, DYNAMIC_TYPE_CERT); return ret; @@ -6418,7 +6418,7 @@ int wc_SetSubjectBuffer(Cert* cert, const byte* der, int derSz) /* Set cert alt names from DER buffer */ int wc_SetAltNamesBuffer(Cert* cert, const byte* der, int derSz) { - return wc_SetAltNamesFromCert(cert, der, derSz); + return SetAltNamesFromCert(cert, der, derSz); } /* Set cert dates from DER buffer */