diff options
author | Dr. Stephen Henson <steve@openssl.org> | 1999-01-24 17:50:32 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 1999-01-24 17:50:32 +0000 |
commit | 834eeef995bb3783550d11186f9d649aaacd43ac (patch) | |
tree | bdebcad3737b8a5da6b13f0f4f64b0a084dc382c /crypto/err | |
parent | 9aeaf1b4a7924cabf829bf57d0ca87d311cd2dfe (diff) |
Continuing adding X509 V3 support. This starts to integrate the code with
the main library, but only with printing at present. To see this try:
openssl x509 -in cert.pem -text
on a certificate with some extensions in it.
Diffstat (limited to 'crypto/err')
-rw-r--r-- | crypto/err/err.c | 1 | ||||
-rw-r--r-- | crypto/err/err.h | 2 | ||||
-rw-r--r-- | crypto/err/err_all.c | 2 | ||||
-rw-r--r-- | crypto/err/ssleay.ec | 1 |
4 files changed, 6 insertions, 0 deletions
diff --git a/crypto/err/err.c b/crypto/err/err.c index 39c997aef8..fcd92284e0 100644 --- a/crypto/err/err.c +++ b/crypto/err/err.c @@ -108,6 +108,7 @@ static ERR_STRING_DATA ERR_str_libraries[]= {ERR_PACK(ERR_LIB_PROXY,0,0) ,"Proxy routines"}, {ERR_PACK(ERR_LIB_BIO,0,0) ,"BIO routines"}, {ERR_PACK(ERR_LIB_PKCS7,0,0) ,"PKCS7 routines"}, +{ERR_PACK(ERR_LIB_X509V3,0,0) ,"X509 V3 routines"}, {0,NULL}, }; diff --git a/crypto/err/err.h b/crypto/err/err.h index c81dedd666..fe037109d9 100644 --- a/crypto/err/err.h +++ b/crypto/err/err.h @@ -116,6 +116,7 @@ typedef struct err_state_st #define ERR_LIB_PROXY 31 #define ERR_LIB_BIO 32 #define ERR_LIB_PKCS7 33 +#define ERR_LIB_X509V3 34 #define ERR_LIB_USER 128 @@ -141,6 +142,7 @@ typedef struct err_state_st #define RSAREFerr(f,r) ERR_PUT_error(ERR_LIB_RSAREF,(f),(r),ERR_file_name,__LINE__) #define PROXYerr(f,r) ERR_PUT_error(ERR_LIB_PROXY,(f),(r),ERR_file_name,__LINE__) #define PKCS7err(f,r) ERR_PUT_error(ERR_LIB_PKCS7,(f),(r),ERR_file_name,__LINE__) +#define X509V3err(f,r) ERR_PUT_error(ERR_LIB_X509V3,(f),(r),ERR_file_name,__LINE__) /* Borland C seems too stupid to be able to shift and do longs in * the pre-processor :-( */ diff --git a/crypto/err/err_all.c b/crypto/err/err_all.c index f874268e1a..423216e7c1 100644 --- a/crypto/err/err_all.c +++ b/crypto/err/err_all.c @@ -77,6 +77,7 @@ #include "objects.h" #include "pem.h" #include "x509.h" +#include "x509v3.h" #include "conf.h" #include "err.h" @@ -110,6 +111,7 @@ void ERR_load_crypto_strings() ERR_load_OBJ_strings(); ERR_load_PEM_strings(); ERR_load_X509_strings(); + ERR_load_X509V3_strings(); ERR_load_CRYPTO_strings(); ERR_load_PKCS7_strings(); #endif diff --git a/crypto/err/ssleay.ec b/crypto/err/ssleay.ec index 12cb3432a8..fa2df26ca2 100644 --- a/crypto/err/ssleay.ec +++ b/crypto/err/ssleay.ec @@ -10,6 +10,7 @@ L BIO bio/bio.err L OBJ objects/objects.err L PEM pem/pem.err L X509 x509/x509.err +L X509V3 x509v3/x509v3.err L METH meth/meth.err L ASN1 asn1/asn1.err L CONF conf/conf.err |