diff options
Diffstat (limited to 'lib/libcrypto/asn1/t_crl.c')
-rw-r--r-- | lib/libcrypto/asn1/t_crl.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libcrypto/asn1/t_crl.c b/lib/libcrypto/asn1/t_crl.c index f6550b2b04f..1624cc5fcc0 100644 --- a/lib/libcrypto/asn1/t_crl.c +++ b/lib/libcrypto/asn1/t_crl.c @@ -66,20 +66,20 @@ #ifndef OPENSSL_NO_FP_API int X509_CRL_print_fp(FILE *fp, X509_CRL *x) - { +{ BIO *b; int ret; if ((b=BIO_new(BIO_s_file())) == NULL) - { + { X509err(X509_F_X509_CRL_PRINT_FP,ERR_R_BUF_LIB); return(0); - } + } BIO_set_fp(b,fp,BIO_NOCLOSE); ret=X509_CRL_print(b, x); BIO_free(b); return(ret); - } +} #endif int X509_CRL_print(BIO *out, X509_CRL *x) |