Loading apps/ca.c +6 −6 Original line number Diff line number Diff line Loading @@ -725,8 +725,12 @@ end_of_options: /*****************************************************************/ if (req || gencrl) { /* FIXME: Is it really always text? */ Sout = bio_open_default(outfile, 'w', FORMAT_TEXT); if (spkac_file != NULL) { output_der = 1; batch = 1; } Sout = bio_open_default(outfile, 'w', output_der ? FORMAT_ASN1 : FORMAT_TEXT); if (Sout == NULL) goto end; } Loading Loading @@ -872,10 +876,6 @@ end_of_options: BIO_printf(bio_err, "Memory allocation failure\n"); goto end; } if (outfile) { output_der = 1; batch = 1; } } } if (ss_cert_file != NULL) { Loading Loading
apps/ca.c +6 −6 Original line number Diff line number Diff line Loading @@ -725,8 +725,12 @@ end_of_options: /*****************************************************************/ if (req || gencrl) { /* FIXME: Is it really always text? */ Sout = bio_open_default(outfile, 'w', FORMAT_TEXT); if (spkac_file != NULL) { output_der = 1; batch = 1; } Sout = bio_open_default(outfile, 'w', output_der ? FORMAT_ASN1 : FORMAT_TEXT); if (Sout == NULL) goto end; } Loading Loading @@ -872,10 +876,6 @@ end_of_options: BIO_printf(bio_err, "Memory allocation failure\n"); goto end; } if (outfile) { output_der = 1; batch = 1; } } } if (ss_cert_file != NULL) { Loading