Switch command-line utils to new nameopt API.
authorDmitry Belyavskiy <beldmit@gmail.com>
Tue, 25 Apr 2017 16:25:42 +0000 (12:25 -0400)
committerRich Salz <rsalz@openssl.org>
Tue, 25 Apr 2017 16:37:17 +0000 (12:37 -0400)
commitb5c4209be9162d4ceafb9aef833ca94ffa1cc5c9
tree02dcc8e0d8a5368b0c7aa6780f7998c1d45f5f7d
parent645c694d85c8f48c74e7db8730ead874656c781e
Switch command-line utils to new nameopt API.

The CA names should be printed according to user's decision
print_name instead of set of BIO_printf
dump_cert_text instead of set of BIO_printf
Testing cyrillic output of X509_CRL_print_ex
Write and use X509_CRL_print_ex
Reduce usage of X509_NAME_online
Using X509_REQ_print_ex instead of X509_REQ_print
Fix nameopt processing.
Make dump_cert_text nameopt-friendly
Move nameopt getter/setter to apps/apps.c

Reviewed-by: Rich Salz <rsalz@openssl.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/3262)
18 files changed:
apps/apps.c
apps/apps.h
apps/ca.c
apps/crl.c
apps/pkcs7.c
apps/req.c
apps/s_apps.h
apps/s_cb.c
apps/s_client.c
apps/s_server.c
apps/verify.c
apps/x509.c
crypto/x509/t_crl.c
include/openssl/x509.h
test/certs/cyrillic_crl.pem [new file with mode: 0644]
test/certs/cyrillic_crl.utf8 [new file with mode: 0644]
test/recipes/25-test_crl.t
util/libcrypto.num