summaryrefslogtreecommitdiffstats
path: root/crypto/x509
diff options
context:
space:
mode:
authorEmilia Kasper <emilia@openssl.org>2014-09-05 15:25:57 +0200
committerEmilia Kasper <emilia@openssl.org>2014-09-05 17:18:06 +0200
commit95b1752cc7531e4b609aea166f2db1c155ab5bdd (patch)
tree48c65031d31b5c59b90daf3c1cc8425711e98870 /crypto/x509
parentb2774f6e17d4204f19a4c009cef9db58821c4456 (diff)
Add i2d_re_X509_tbs
i2d_re_X509_tbs re-encodes the TBS portion of the certificate. Reviewed-by: Rich Salz <rsalz@openssl.org> Reviewed-by: Dr Stephen Henson <steve@openssl.org>
Diffstat (limited to 'crypto/x509')
-rw-r--r--crypto/x509/x509.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/crypto/x509/x509.h b/crypto/x509/x509.h
index ee560d19bf..2fcc107812 100644
--- a/crypto/x509/x509.h
+++ b/crypto/x509/x509.h
@@ -852,6 +852,8 @@ void *X509_get_ex_data(X509 *r, int idx);
int i2d_X509_AUX(X509 *a,unsigned char **pp);
X509 * d2i_X509_AUX(X509 **a,const unsigned char **pp,long length);
+int i2d_re_X509_tbs(X509 *x, unsigned char **pp);
+
void X509_get0_signature(ASN1_BIT_STRING **psig, X509_ALGOR **palg,
const X509 *x);
int X509_get_signature_nid(const X509 *x);