Commit 834eeef9 authored by Dr. Stephen Henson's avatar Dr. Stephen Henson
Browse files

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.
parent 9aeaf1b4
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -5,6 +5,9 @@

 Changes between 0.9.1c and 0.9.2

  *) Continued X509 V3 changes. Add to other makefiles, integrate with the
     error code, add initial support to X509_print() and x509 application.

  *) Takes a deep breath and start addding X509 V3 extension support code. Add
     files in crypto/x509v3. Move original stuff to crypto/x509v3/old. All this
     stuff is currently isolated and isn't even compiled yet.
+1 −1
Original line number Diff line number Diff line
@@ -157,7 +157,7 @@ SDIRS= \
	des rc2 rc4 rc5 idea bf cast \
	bn rsa dsa dh \
	buffer bio stack lhash rand pem err objects \
	evp asn1 x509 conf txt_db pkcs7 comp
	evp asn1 x509 x509v3 conf txt_db pkcs7 comp

# If you change the INSTALLTOP, make sure to also change the values
# in crypto/location.h
+2 −1
Original line number Diff line number Diff line
@@ -69,6 +69,7 @@
#include "bn.h"
#include "evp.h"
#include "x509.h"
#include "x509v3.h"
#include "objects.h"
#include "pem.h"

@@ -305,7 +306,7 @@ bad:
		}

	ERR_load_crypto_strings();
	X509v3_add_netscape_extensions();
	X509V3_add_standard_extensions();

	if (!X509_STORE_set_default_paths(ctx))
		{
+1 −1
Original line number Diff line number Diff line
@@ -29,7 +29,7 @@ SDIRS= md2 md5 sha mdc2 hmac ripemd \
	des rc2 rc4 rc5 idea bf cast \
	bn rsa dsa dh \
	buffer bio stack lhash rand err objects \
	evp pem x509 \
	evp pem x509 x509v3 \
	asn1 conf txt_db pkcs7 comp

GENERAL=Makefile README
+2 −0
Original line number Diff line number Diff line
@@ -24,6 +24,7 @@
#define ASN1_F_ASN1_TYPE_NEW				 119
#define ASN1_F_ASN1_UTCTIME_NEW				 120
#define ASN1_F_ASN1_VERIFY				 121
#define ASN1_F_BASIC_CONSTRAINTS_NEW			 226
#define ASN1_F_BN_TO_ASN1_INTEGER			 122
#define ASN1_F_D2I_ASN1_BIT_STRING			 123
#define ASN1_F_D2I_ASN1_BMPSTRING			 124
@@ -40,6 +41,7 @@
#define ASN1_F_D2I_ASN1_TYPE				 133
#define ASN1_F_D2I_ASN1_TYPE_BYTES			 134
#define ASN1_F_D2I_ASN1_UTCTIME				 135
#define ASN1_F_D2I_BASIC_CONSTRAINTS			 227
#define ASN1_F_D2I_DHPARAMS				 136
#define ASN1_F_D2I_DSAPARAMS				 137
#define ASN1_F_D2I_DSAPRIVATEKEY			 138
Loading