diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2017-03-13 15:00:36 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2017-04-03 23:47:21 +0100 |
commit | fa7c263747cb73f03b321399a1452cc40516d9a4 (patch) | |
tree | 55f6db4756360fc0aadeb42a2761205dd6414ce4 /ssl/statem/extensions.c | |
parent | 18d20b5eb66fda0ada2e65c2b19aeae75827bdf8 (diff) | |
download | openssl-fa7c263747cb73f03b321399a1452cc40516d9a4.tar.gz |
New certificate_authorities functions
Add functions to add/retrieve the certificate_authorities. The older
client_CA functions mainly just call the new versions now.
Rename fields sice new extension can be generated by client and server.
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/3015)
Diffstat (limited to 'ssl/statem/extensions.c')
-rw-r--r-- | ssl/statem/extensions.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ssl/statem/extensions.c b/ssl/statem/extensions.c index 043b8304eb..22669dd565 100644 --- a/ssl/statem/extensions.c +++ b/ssl/statem/extensions.c @@ -983,8 +983,8 @@ static int final_ems(SSL *s, unsigned int context, int sent, int *al) static int init_certificate_authorities(SSL *s, unsigned int context) { - sk_X509_NAME_pop_free(s->s3->tmp.ca_names, X509_NAME_free); - s->s3->tmp.ca_names = NULL; + sk_X509_NAME_pop_free(s->s3->tmp.peer_ca_names, X509_NAME_free); + s->s3->tmp.peer_ca_names = NULL; return 1; } |