Deleted Added
full compact
ca.c (100928) ca.c (100936)
1/* apps/ca.c */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved.
4 *
5 * This package is an SSL implementation written
6 * by Eric Young (eay@cryptsoft.com).
7 * The implementation was written so as to conform with Netscapes SSL.
8 *

--- 1094 unchanged lines hidden (view full) ---

1103 {
1104 crldays=CONF_get_number(conf,section,
1105 ENV_DEFAULT_CRL_DAYS);
1106 crlhours=CONF_get_number(conf,section,
1107 ENV_DEFAULT_CRL_HOURS);
1108 }
1109 if ((crldays == 0) && (crlhours == 0))
1110 {
1/* apps/ca.c */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved.
4 *
5 * This package is an SSL implementation written
6 * by Eric Young (eay@cryptsoft.com).
7 * The implementation was written so as to conform with Netscapes SSL.
8 *

--- 1094 unchanged lines hidden (view full) ---

1103 {
1104 crldays=CONF_get_number(conf,section,
1105 ENV_DEFAULT_CRL_DAYS);
1106 crlhours=CONF_get_number(conf,section,
1107 ENV_DEFAULT_CRL_HOURS);
1108 }
1109 if ((crldays == 0) && (crlhours == 0))
1110 {
1111 BIO_printf(bio_err,"cannot lookup how long until the next CRL is issuer\n");
1111 BIO_printf(bio_err,"cannot lookup how long until the next CRL is issued\n");
1112 goto err;
1113 }
1114
1115 if (verbose) BIO_printf(bio_err,"making CRL\n");
1116 if ((crl=X509_CRL_new()) == NULL) goto err;
1117 ci=crl->crl;
1118 X509_NAME_free(ci->issuer);
1119 ci->issuer=X509_NAME_dup(x509->cert_info->subject);

--- 1125 unchanged lines hidden ---
1112 goto err;
1113 }
1114
1115 if (verbose) BIO_printf(bio_err,"making CRL\n");
1116 if ((crl=X509_CRL_new()) == NULL) goto err;
1117 ci=crl->crl;
1118 X509_NAME_free(ci->issuer);
1119 ci->issuer=X509_NAME_dup(x509->cert_info->subject);

--- 1125 unchanged lines hidden ---