version 1.15, 2015/09/21 13:13:06 |
version 1.16, 2015/09/21 13:31:26 |
|
|
|
|
tm = X509_get_notAfter(ret); |
tm = X509_get_notAfter(ret); |
row[DB_exp_date] = malloc(tm->length + 1); |
row[DB_exp_date] = malloc(tm->length + 1); |
if (row[DB_exp_date] == NULL) { |
if (row[DB_type] == NULL || row[DB_exp_date] == NULL) { |
BIO_printf(bio_err, "Memory allocation failure\n"); |
BIO_printf(bio_err, "Memory allocation failure\n"); |
goto err; |
goto err; |
} |
} |
|
|
|
|
tm = X509_get_notAfter(x509); |
tm = X509_get_notAfter(x509); |
row[DB_exp_date] = malloc(tm->length + 1); |
row[DB_exp_date] = malloc(tm->length + 1); |
if (row[DB_exp_date] == NULL) { |
if (row[DB_type] == NULL || row[DB_exp_date] == NULL) { |
BIO_printf(bio_err, "Memory allocation failure\n"); |
BIO_printf(bio_err, "Memory allocation failure\n"); |
goto err; |
goto err; |
} |
} |