mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2026-02-01 15:59:15 +01: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;
|
||||
#endif
|
||||
case PUBLICKEY_TYPE:
|
||||
case ECC_PUBLICKEY_TYPE:
|
||||
if (header) *header = BEGIN_PUB_KEY;
|
||||
if (footer) *footer = END_PUB_KEY;
|
||||
ret = 0;
|
||||
|
||||
Reference in New Issue
Block a user