summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2016-03-10 15:04:46 +0000
committerDr. Stephen Henson <steve@openssl.org>2016-03-11 17:40:47 +0000
commita6eb1ce6a989d01bb00e9749789b690744be506c (patch)
treec4071e00c47ba6c7fc91a50d26d36052edf134d8 /include
parentbb26842d1c8f99c1267b45361a2fc76822c0f913 (diff)
Make X509_SIG opaque.
Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'include')
-rw-r--r--include/openssl/x509.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/openssl/x509.h b/include/openssl/x509.h
index fe60dc82a2..5c138ca971 100644
--- a/include/openssl/x509.h
+++ b/include/openssl/x509.h
@@ -136,10 +136,7 @@ struct X509_pubkey_st {
CRYPTO_RWLOCK *lock;
};
-typedef struct X509_sig_st {
- X509_ALGOR *algor;
- ASN1_OCTET_STRING *digest;
-} X509_SIG;
+typedef struct X509_sig_st X509_SIG;
typedef struct X509_name_entry_st X509_NAME_ENTRY;
@@ -586,6 +583,9 @@ EC_KEY *d2i_EC_PUBKEY(EC_KEY **a, const unsigned char **pp, long length);
# endif
DECLARE_ASN1_FUNCTIONS(X509_SIG)
+void X509_SIG_get0(X509_ALGOR **palg, ASN1_OCTET_STRING **pdigest,
+ X509_SIG *sig);
+
DECLARE_ASN1_FUNCTIONS(X509_REQ_INFO)
DECLARE_ASN1_FUNCTIONS(X509_REQ)