Ignore:
Timestamp:
Jun 22, 2021, 9:00:19 PM (3 years ago)
Author:
coas-nagasima
Message:

WolfSSLとAzure IoT SDKを更新

Location:
azure_iot_hub_f767zi/trunk/wolfssl-4.7.0
Files:
1 edited
1 moved

Legend:

Unmodified
Added
Removed
  • azure_iot_hub_f767zi/trunk/wolfssl-4.7.0/wolfssl/openssl/asn1.h

    r457 r464  
    3232#define ASN1_STRING_set      wolfSSL_ASN1_STRING_set
    3333#define ASN1_STRING_free     wolfSSL_ASN1_STRING_free
     34
     35#define ASN1_get_object      wolfSSL_ASN1_get_object
     36#define d2i_ASN1_OBJECT      wolfSSL_d2i_ASN1_OBJECT
     37#define c2i_ASN1_OBJECT      wolfSSL_c2i_ASN1_OBJECT
    3438
    3539#define V_ASN1_INTEGER                   0x02
     
    6771#define ASN1_TIME_set                   wolfSSL_ASN1_TIME_set
    6872
     73#define V_ASN1_EOC                      0
    6974#define V_ASN1_OBJECT                   6
     75#define V_ASN1_UTF8STRING               12
     76#define V_ASN1_SEQUENCE                 16
     77#define V_ASN1_SET                      17
     78#define V_ASN1_PRINTABLESTRING          19
     79#define V_ASN1_T61STRING                20
     80#define V_ASN1_IA5STRING                22
    7081#define V_ASN1_UTCTIME                  23
    7182#define V_ASN1_GENERALIZEDTIME          24
     83#define V_ASN1_UNIVERSALSTRING          28
     84#define V_ASN1_BMPSTRING                30
     85
     86
     87#define V_ASN1_CONSTRUCTED              0x20
    7288
    7389#define ASN1_STRING_FLAG_BITS_LEFT       0x008
     
    8298
    8399WOLFSSL_API void wolfSSL_ASN1_TYPE_set(WOLFSSL_ASN1_TYPE *a, int type, void *value);
     100
     101WOLFSSL_API int wolfSSL_ASN1_get_object(const unsigned char **in, long *len, int *tag,
     102                                        int *cls, long inLen);
     103
     104WOLFSSL_API WOLFSSL_ASN1_OBJECT *wolfSSL_c2i_ASN1_OBJECT(WOLFSSL_ASN1_OBJECT **a,
     105        const unsigned char **pp, long len);
    84106
    85107#ifdef OPENSSL_ALL
     
    108130
    109131#define ASN1_SEQUENCE(type) \
    110     static const type __##type##_dummy_struct;\
     132    static type __##type##_dummy_struct;\
    111133    static const WOLFSSL_ASN1_TEMPLATE type##_member_data[]
    112134
     
    124146    };
    125147
    126 WOLFSSL_API void *wolfSSL_ASN1_item_new(const WOLFSSL_ASN1_ITEM *template);
    127 WOLFSSL_API void wolfSSL_ASN1_item_free(void *val, const WOLFSSL_ASN1_ITEM *template);
     148WOLFSSL_API void *wolfSSL_ASN1_item_new(const WOLFSSL_ASN1_ITEM *tpl);
     149WOLFSSL_API void wolfSSL_ASN1_item_free(void *val, const WOLFSSL_ASN1_ITEM *tpl);
    128150WOLFSSL_API int wolfSSL_ASN1_item_i2d(const void *src, byte **dest,
    129                                       const WOLFSSL_ASN1_ITEM *template);
     151                                      const WOLFSSL_ASN1_ITEM *tpl);
    130152
    131153/* Need function declaration otherwise compiler complains */
Note: See TracChangeset for help on using the changeset viewer.