summaryrefslogtreecommitdiffstats
path: root/crypto/asn1/t_x509.c
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>1999-08-09 22:38:05 +0000
committerDr. Stephen Henson <steve@openssl.org>1999-08-09 22:38:05 +0000
commit87c49f622e7fe9d93b3ab87b1edd5faa32fa6e74 (patch)
treee2408f817ecc675e1f44400bc0f165557b00e17b /crypto/asn1/t_x509.c
parent29159a42d2708cb962b3fa6358f3a02ec5cf46b2 (diff)
Support for parsing of certificate extensions in PKCS#10 requests: these are
used by things like Xenroll. Also include documentation for extendedKeyUsage extension.
Diffstat (limited to 'crypto/asn1/t_x509.c')
-rw-r--r--crypto/asn1/t_x509.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/crypto/asn1/t_x509.c b/crypto/asn1/t_x509.c
index 42f4d498cf..80cf37bf04 100644
--- a/crypto/asn1/t_x509.c
+++ b/crypto/asn1/t_x509.c
@@ -188,11 +188,7 @@ int X509_print(BIO *bp, X509 *x)
BIO_printf(bp,"%8sX509v3 extensions:\n","");
for (i=0; i<n; i++)
{
-#if 0
- int data_type,pack_type;
-#endif
ASN1_OBJECT *obj;
-
ex=X509_get_ext(x,i);
if (BIO_printf(bp,"%12s","") <= 0) goto err;
obj=X509_EXTENSION_get_object(ex);