version.h | version.h | |||
---|---|---|---|---|
skipping to change at line 39 | skipping to change at line 39 | |||
#define POLARSSL_VERSION_H | #define POLARSSL_VERSION_H | |||
#include "polarssl/config.h" | #include "polarssl/config.h" | |||
/** | /** | |||
* The version number x.y.z is split into three parts. | * The version number x.y.z is split into three parts. | |||
* Major, Minor, Patchlevel | * Major, Minor, Patchlevel | |||
*/ | */ | |||
#define POLARSSL_VERSION_MAJOR 0 | #define POLARSSL_VERSION_MAJOR 0 | |||
#define POLARSSL_VERSION_MINOR 14 | #define POLARSSL_VERSION_MINOR 14 | |||
#define POLARSSL_VERSION_PATCH 0 | #define POLARSSL_VERSION_PATCH 2 | |||
/** | /** | |||
* The single version number has the following structure: | * The single version number has the following structure: | |||
* MMNNPP00 | * MMNNPP00 | |||
* Major version | Minor version | Patch version | * Major version | Minor version | Patch version | |||
*/ | */ | |||
#define POLARSSL_VERSION_NUMBER 0x000E0000 | #define POLARSSL_VERSION_NUMBER 0x000E0200 | |||
#define POLARSSL_VERSION_STRING "0.14.0" | #define POLARSSL_VERSION_STRING "0.14.2" | |||
#define POLARSSL_VERSION_STRING_FULL "PolarSSL 0.14.0" | #define POLARSSL_VERSION_STRING_FULL "PolarSSL 0.14.2" | |||
#if defined(POLARSSL_VERSION_C) | #if defined(POLARSSL_VERSION_C) | |||
/** | /** | |||
* Get the version number. | * Get the version number. | |||
* | * | |||
* @return The constructed version number in the format | * @return The constructed version number in the format | |||
* MMNNPP00 (Major, Minor, Patch). | * MMNNPP00 (Major, Minor, Patch). | |||
*/ | */ | |||
unsigned int version_get_number(); | unsigned int version_get_number(); | |||
End of changes. 2 change blocks. | ||||
4 lines changed or deleted | 4 lines changed or added | |||
x509.h | x509.h | |||
---|---|---|---|---|
skipping to change at line 125 | skipping to change at line 125 | |||
#define X509_OUTPUT_DER 0x01 | #define X509_OUTPUT_DER 0x01 | |||
#define X509_OUTPUT_PEM 0x02 | #define X509_OUTPUT_PEM 0x02 | |||
#define PEM_LINE_LENGTH 72 | #define PEM_LINE_LENGTH 72 | |||
#define X509_ISSUER 0x01 | #define X509_ISSUER 0x01 | |||
#define X509_SUBJECT 0x02 | #define X509_SUBJECT 0x02 | |||
#define OID_X520 "\x55\x04" | #define OID_X520 "\x55\x04" | |||
#define OID_CN "\x55\x04\x03" | #define OID_CN "\x55\x04\x03" | |||
#define OID_PKCS1 "\x2A\x86\x48\x86\xF7\x0D\x01\x01" | #define OID_PKCS1 "\x2A\x86\x48\x86\xF7\x0D\x01\x01" | |||
#define OID_PKCS1_RSA "\x2A\x86\x48\x86\xF7\x0D\x01\x01\x01" | #define OID_PKCS1_RSA "\x2A\x86\x48\x86\xF7\x0D\x01\x01\x01" | |||
#define OID_PKCS1_RSA_SHA "\x2A\x86\x48\x86\xF7\x0D\x01\x01\x05" | #define OID_RSA_SHA_OBS "\x2B\x0E\x03\x02\x1D" | |||
#define OID_PKCS9 "\x2A\x86\x48\x86\xF7\x0D\x01\x09" | #define OID_PKCS9 "\x2A\x86\x48\x86\xF7\x0D\x01\x09" | |||
#define OID_PKCS9_EMAIL "\x2A\x86\x48\x86\xF7\x0D\x01\x09\x01" | #define OID_PKCS9_EMAIL "\x2A\x86\x48\x86\xF7\x0D\x01\x09\x01" | |||
/* | /* | |||
* Structures for parsing X.509 certificates | * Structures for parsing X.509 certificates | |||
*/ | */ | |||
typedef struct _x509_buf | typedef struct _x509_buf | |||
{ | { | |||
int tag; | int tag; | |||
int len; | int len; | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||