Fix SSL and SSL_CTX ex_data variable names.

Forgot to fix these when I fixed the headers.

Change-Id: Ie45e624abc993e16e2d5a872ef00dba9029a38df
Reviewed-on: https://boringssl-review.googlesource.com/5891
Reviewed-by: Adam Langley <agl@google.com>
This commit is contained in:
David Benjamin 2015-09-15 01:36:22 -04:00 committed by Adam Langley
parent 2079ee70c6
commit 1ac08feed6

View File

@ -2237,12 +2237,12 @@ int SSL_get_ex_new_index(long argl, void *argp, CRYPTO_EX_new *new_func,
return index;
}
int SSL_set_ex_data(SSL *s, int idx, void *arg) {
return CRYPTO_set_ex_data(&s->ex_data, idx, arg);
int SSL_set_ex_data(SSL *ssl, int idx, void *arg) {
return CRYPTO_set_ex_data(&ssl->ex_data, idx, arg);
}
void *SSL_get_ex_data(const SSL *s, int idx) {
return CRYPTO_get_ex_data(&s->ex_data, idx);
void *SSL_get_ex_data(const SSL *ssl, int idx) {
return CRYPTO_get_ex_data(&ssl->ex_data, idx);
}
int SSL_CTX_get_ex_new_index(long argl, void *argp, CRYPTO_EX_new *new_func,
@ -2256,12 +2256,12 @@ int SSL_CTX_get_ex_new_index(long argl, void *argp, CRYPTO_EX_new *new_func,
return index;
}
int SSL_CTX_set_ex_data(SSL_CTX *s, int idx, void *arg) {
return CRYPTO_set_ex_data(&s->ex_data, idx, arg);
int SSL_CTX_set_ex_data(SSL_CTX *ctx, int idx, void *arg) {
return CRYPTO_set_ex_data(&ctx->ex_data, idx, arg);
}
void *SSL_CTX_get_ex_data(const SSL_CTX *s, int idx) {
return CRYPTO_get_ex_data(&s->ex_data, idx);
void *SSL_CTX_get_ex_data(const SSL_CTX *ctx, int idx) {
return CRYPTO_get_ex_data(&ctx->ex_data, idx);
}
X509_STORE *SSL_CTX_get_cert_store(const SSL_CTX *ctx) {