X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=blobdiff_plain;f=crypto%2Fasn1%2Ft_crl.c;h=3a1443386da464533234878f8036f3636216f048;hp=d78e4a8f8878609ada45afb425f65af3f399a80e;hb=de487514aeb2a43fefe0d9c7cf697ff4f5e9be5f;hpb=06db4253e2eb1208b60b5107c6a02d385a0e2129 diff --git a/crypto/asn1/t_crl.c b/crypto/asn1/t_crl.c index d78e4a8f88..3a1443386d 100644 --- a/crypto/asn1/t_crl.c +++ b/crypto/asn1/t_crl.c @@ -86,7 +86,6 @@ int X509_CRL_print_fp(FILE *fp, X509_CRL *x) int X509_CRL_print(BIO *out, X509_CRL *x) { char buf[256]; - unsigned char *s; STACK_OF(X509_REVOKED) *rev; X509_REVOKED *r; long l; @@ -131,19 +130,7 @@ int X509_CRL_print(BIO *out, X509_CRL *x) for(j = 0; j < X509_REVOKED_get_ext_count(r); j++) ext_print(out, X509_REVOKED_get_ext(r, j)); } - - i=OBJ_obj2nid(x->sig_alg->algorithm); - BIO_printf(out," Signature Algorithm: %s", - (i == NID_undef)?"UNKNOWN":OBJ_nid2ln(i)); - - s = x->signature->data; - n = x->signature->length; - for (i=0; isig_alg, x->signature); return 1;