mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-30 02:37:28 +02:00
Adds ECC_PUBLICKEY_TYPE
to the support PEM header types. Fixes #2097.
This commit is contained in:
@ -8559,6 +8559,7 @@ int wc_PemGetHeaderFooter(int type, const char** header, const char** footer)
|
|||||||
break;
|
break;
|
||||||
#endif
|
#endif
|
||||||
case PUBLICKEY_TYPE:
|
case PUBLICKEY_TYPE:
|
||||||
|
case ECC_PUBLICKEY_TYPE:
|
||||||
if (header) *header = BEGIN_PUB_KEY;
|
if (header) *header = BEGIN_PUB_KEY;
|
||||||
if (footer) *footer = END_PUB_KEY;
|
if (footer) *footer = END_PUB_KEY;
|
||||||
ret = 0;
|
ret = 0;
|
||||||
|
Reference in New Issue
Block a user