Fix comments about X.509 versions

This commit is contained in:
Manuel Pégourié-Gonnard 2014-06-19 11:39:46 +02:00 committed by Paul Bakker
parent 08485cca81
commit f4e1b64517
3 changed files with 3 additions and 3 deletions

View file

@ -75,7 +75,7 @@ typedef struct _x509_crl
x509_buf raw; /**< The raw certificate data (DER). */
x509_buf tbs; /**< The raw certificate body (DER). The part that is To Be Signed. */
int version;
int version; /**< CRL version (1=v1, 2=v2) */
x509_buf sig_oid1;
x509_buf issuer_raw; /**< The raw issuer data (DER). */

View file

@ -59,7 +59,7 @@ typedef struct _x509_crt
x509_buf raw; /**< The raw certificate data (DER). */
x509_buf tbs; /**< The raw certificate body (DER). The part that is To Be Signed. */
int version; /**< The X.509 version. (0=v1, 1=v2, 2=v3) */
int version; /**< The X.509 version. (1=v1, 2=v2, 3=v3) */
x509_buf serial; /**< Unique id for certificate issued by a specific CA. */
x509_buf sig_oid1; /**< Signature algorithm, e.g. sha1RSA */

View file

@ -56,7 +56,7 @@ typedef struct _x509_csr
x509_buf raw; /**< The raw CSR data (DER). */
x509_buf cri; /**< The raw CertificateRequestInfo body (DER). */
int version;
int version; /**< CSR version (1=v1). */
x509_buf subject_raw; /**< The raw subject data (DER). */
x509_name subject; /**< The parsed subject data (named information object). */