mirror of
https://github.com/esp8266/Arduino.git
synced 2025-10-15 11:26:40 +03:00
* X509 State, country and location are now used for verification and display.
* SNI hostname memory is now managed by the calling application * X509 version number is checked before processing v3 extensions. git-svn-id: svn://svn.code.sf.net/p/axtls/code/trunk@272 9a5d90b5-6617-0410-8a86-bb477d3ed2e3
This commit is contained in:
committed by
Ivan Grokhotkov
parent
425067abe6
commit
2213f30449
@@ -60,10 +60,13 @@ extern "C" {
|
||||
/*
|
||||
* The Distinguished Name
|
||||
*/
|
||||
#define X509_NUM_DN_TYPES 3
|
||||
#define X509_NUM_DN_TYPES 6
|
||||
#define X509_COMMON_NAME 0
|
||||
#define X509_ORGANIZATION 1
|
||||
#define X509_ORGANIZATIONAL_UNIT 2
|
||||
#define X509_LOCATION 3
|
||||
#define X509_COUNTRY 4
|
||||
#define X509_STATE 5
|
||||
|
||||
struct _x509_ctx
|
||||
{
|
||||
|
Reference in New Issue
Block a user