Support converting cipher name to RFC name and vice versa
authorPaul Yang <yang.yang@baishancloud.com>
Thu, 29 Jun 2017 19:06:19 +0000 (03:06 +0800)
committerPauli <paul.dale@oracle.com>
Thu, 20 Jul 2017 21:20:14 +0000 (07:20 +1000)
commitbbb4ceb86eb6ea0300f744443c36fb6e980fff9d
tree57079deada8128837e38a4bd37f7bf9119f016a2
parentb8a437ffa09bbf22c04a55015a6d2743cd0b7529
Support converting cipher name to RFC name and vice versa

Fixes: issue #3747
make SSL_CIPHER_standard_name globally available and introduce a new
function OPENSSL_cipher_name.

A new option '-convert' is also added to 'openssl ciphers' app.

Documentation and test cases are added.

Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/3859)
15 files changed:
apps/ciphers.c
doc/man1/ciphers.pod
doc/man3/SSL_CIPHER_get_name.pod
include/openssl/ssl.h
include/openssl/ssl3.h
include/openssl/tls1.h
ssl/s3_lib.c
ssl/ssl_ciph.c
ssl/ssl_locl.h
ssl/statem/statem_clnt.c
ssl/t1_trce.c
test/build.info
test/ciphername_test.c [new file with mode: 0644]
test/recipes/80-test_ciphername.t [new file with mode: 0644]
util/libssl.num