diff options
author | Dr. Stephen Henson <steve@openssl.org> | 1999-03-27 14:06:25 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 1999-03-27 14:06:25 +0000 |
commit | 785cdf20482063a6b59c44825e33c1dee60217d2 (patch) | |
tree | 58f0d2c932ca955c34677b8cf61792748d2c0c53 /crypto/x509v3/v3_pku.c | |
parent | ba423addddbc43be1e3bddca727332a9bfe3cb46 (diff) | |
download | openssl-785cdf20482063a6b59c44825e33c1dee60217d2.tar.gz |
Add initial support for Thawte strong extranet certificate extensions and
include an 'indent' option to V3 stuff.
Diffstat (limited to 'crypto/x509v3/v3_pku.c')
-rw-r--r-- | crypto/x509v3/v3_pku.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/crypto/x509v3/v3_pku.c b/crypto/x509v3/v3_pku.c index a602191c55..23a71522f6 100644 --- a/crypto/x509v3/v3_pku.c +++ b/crypto/x509v3/v3_pku.c @@ -63,7 +63,7 @@ #include "x509v3.h" #ifndef NOPROTO -static int i2r_PKEY_USAGE_PERIOD(X509V3_EXT_METHOD *method, PKEY_USAGE_PERIOD *usage, BIO *out); +static int i2r_PKEY_USAGE_PERIOD(X509V3_EXT_METHOD *method, PKEY_USAGE_PERIOD *usage, BIO *out, int indent); /* static PKEY_USAGE_PERIOD *v2i_PKEY_USAGE_PERIOD(X509V3_EXT_METHOD *method, X509V3_CTX *ctx, STACK *values); */ @@ -143,11 +143,13 @@ PKEY_USAGE_PERIOD *a; Free ((char *)a); } -static int i2r_PKEY_USAGE_PERIOD(method, usage, out) +static int i2r_PKEY_USAGE_PERIOD(method, usage, out, indent) X509V3_EXT_METHOD *method; PKEY_USAGE_PERIOD *usage; BIO *out; +int indent; { + BIO_printf(out, "%*s", indent, ""); if(usage->notBefore) { BIO_write(out, "Not Before: ", 12); ASN1_GENERALIZEDTIME_print(out, usage->notBefore); |