[openssl-commits] [openssl] master update
Rich Salz
rsalz at openssl.org
Fri Feb 6 15:57:40 UTC 2015
The branch master has been updated
via fbf08b79ff33110c242849e836aeb494bc03a132 (commit)
from 6f91b017bbb7140f816721141ac156d1b828a6b3 (commit)
- Log -----------------------------------------------------------------
commit fbf08b79ff33110c242849e836aeb494bc03a132
Author: Rich Salz <rsalz at openssl.org>
Date: Fri Feb 6 10:55:31 2015 -0500
Remove X509_PAIR
Unused type; a pair X509 certificates. Intended for LDAP support.
Reviewed-by: Richard Levitte <levitte at openssl.org>
-----------------------------------------------------------------------
Summary of changes:
crypto/asn1/x_x509a.c | 7 -------
crypto/ossl_typ.h | 1 -
crypto/pem/pem.h | 2 --
crypto/pem/pem_xaux.c | 2 --
crypto/x509/x509.h | 8 --------
crypto/x509v3/x509v3.h | 1 -
engines/e_capi.c | 1 -
7 files changed, 22 deletions(-)
diff --git a/crypto/asn1/x_x509a.c b/crypto/asn1/x_x509a.c
index 83fb299..2a2ca87 100644
--- a/crypto/asn1/x_x509a.c
+++ b/crypto/asn1/x_x509a.c
@@ -192,10 +192,3 @@ void X509_reject_clear(X509 *x)
x->aux->reject = NULL;
}
}
-
-ASN1_SEQUENCE(X509_CERT_PAIR) = {
- ASN1_EXP_OPT(X509_CERT_PAIR, forward, X509, 0),
- ASN1_EXP_OPT(X509_CERT_PAIR, reverse, X509, 1)
-} ASN1_SEQUENCE_END(X509_CERT_PAIR)
-
-IMPLEMENT_ASN1_FUNCTIONS(X509_CERT_PAIR)
diff --git a/crypto/ossl_typ.h b/crypto/ossl_typ.h
index 1cf0a5c..a75f3d7 100644
--- a/crypto/ossl_typ.h
+++ b/crypto/ossl_typ.h
@@ -109,7 +109,6 @@ typedef struct asn1_sctx_st ASN1_SCTX;
# ifdef OPENSSL_SYS_WIN32
# undef X509_NAME
# undef X509_EXTENSIONS
-# undef X509_CERT_PAIR
# undef PKCS7_ISSUER_AND_SERIAL
# undef OCSP_REQUEST
# undef OCSP_RESPONSE
diff --git a/crypto/pem/pem.h b/crypto/pem/pem.h
index d8057cb..d42e5b0 100644
--- a/crypto/pem/pem.h
+++ b/crypto/pem/pem.h
@@ -109,7 +109,6 @@ extern "C" {
# define PEM_STRING_X509_OLD "X509 CERTIFICATE"
# define PEM_STRING_X509 "CERTIFICATE"
-# define PEM_STRING_X509_PAIR "CERTIFICATE PAIR"
# define PEM_STRING_X509_TRUSTED "TRUSTED CERTIFICATE"
# define PEM_STRING_X509_REQ_OLD "NEW CERTIFICATE REQUEST"
# define PEM_STRING_X509_REQ "CERTIFICATE REQUEST"
@@ -431,7 +430,6 @@ void PEM_dek_info(char *buf, const char *type, int len, char *str);
DECLARE_PEM_rw(X509, X509)
DECLARE_PEM_rw(X509_AUX, X509)
-DECLARE_PEM_rw(X509_CERT_PAIR, X509_CERT_PAIR)
DECLARE_PEM_rw(X509_REQ, X509_REQ)
DECLARE_PEM_write(X509_REQ_NEW, X509_REQ)
DECLARE_PEM_rw(X509_CRL, X509_CRL)
diff --git a/crypto/pem/pem_xaux.c b/crypto/pem/pem_xaux.c
index c523430..3263bd6 100644
--- a/crypto/pem/pem_xaux.c
+++ b/crypto/pem/pem_xaux.c
@@ -66,5 +66,3 @@
#include <openssl/pem.h>
IMPLEMENT_PEM_rw(X509_AUX, X509, PEM_STRING_X509_TRUSTED, X509_AUX)
-IMPLEMENT_PEM_rw(X509_CERT_PAIR, X509_CERT_PAIR, PEM_STRING_X509_PAIR,
- X509_CERT_PAIR)
diff --git a/crypto/x509/x509.h b/crypto/x509/x509.h
index fae320f..1e78e30 100644
--- a/crypto/x509/x509.h
+++ b/crypto/x509/x509.h
@@ -107,7 +107,6 @@ extern "C" {
# ifdef OPENSSL_SYS_WIN32
/* Under Win32 these are defined in wincrypt.h */
# undef X509_NAME
-# undef X509_CERT_PAIR
# undef X509_EXTENSIONS
# endif
@@ -298,11 +297,6 @@ typedef struct x509_trust_st {
DECLARE_STACK_OF(X509_TRUST)
-typedef struct x509_cert_pair_st {
- X509 *forward;
- X509 *reverse;
-} X509_CERT_PAIR;
-
/* standard trust ids */
# define X509_TRUST_DEFAULT -1/* Only valid in purpose settings */
@@ -799,8 +793,6 @@ DECLARE_ASN1_FUNCTIONS(X509_CINF)
DECLARE_ASN1_FUNCTIONS(X509)
DECLARE_ASN1_FUNCTIONS(X509_CERT_AUX)
-DECLARE_ASN1_FUNCTIONS(X509_CERT_PAIR)
-
int X509_get_ex_new_index(long argl, void *argp, CRYPTO_EX_new *new_func,
CRYPTO_EX_dup *dup_func, CRYPTO_EX_free *free_func);
int X509_set_ex_data(X509 *r, int idx, void *arg);
diff --git a/crypto/x509v3/x509v3.h b/crypto/x509v3/x509v3.h
index a99d71b..d1cd6d3 100644
--- a/crypto/x509v3/x509v3.h
+++ b/crypto/x509v3/x509v3.h
@@ -70,7 +70,6 @@ extern "C" {
# ifdef OPENSSL_SYS_WIN32
/* Under Win32 these are defined in wincrypt.h */
# undef X509_NAME
-# undef X509_CERT_PAIR
# undef X509_EXTENSIONS
# endif
diff --git a/engines/e_capi.c b/engines/e_capi.c
index a6824d3..f280397 100644
--- a/engines/e_capi.c
+++ b/engines/e_capi.c
@@ -100,7 +100,6 @@
#ifdef __COMPILE_CAPIENG
# undef X509_EXTENSIONS
-# undef X509_CERT_PAIR
/* Definitions which may be missing from earlier version of headers */
# ifndef CERT_STORE_OPEN_EXISTING_FLAG
More information about the openssl-commits
mailing list