diff options
author | steve <steve> | 2000-01-23 23:40:35 +0000 |
---|---|---|
committer | steve <steve> | 2000-01-23 23:40:35 +0000 |
commit | db6711a654198f70b1c5c714e2b6554604de012a (patch) | |
tree | 60101262c9224afcb09c922afefa53b39a34fe0a /ssl/ssl_cert.c | |
parent | c29a8c37e91f6fa711cb1d1a605c6fd4d74b1ea3 (diff) | |
download | openssl-db6711a654198f70b1c5c714e2b6554604de012a.tar.gz |
Tidy up CRYPTO_EX_DATA structures.
Diffstat (limited to 'ssl/ssl_cert.c')
-rw-r--r-- | ssl/ssl_cert.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ssl/ssl_cert.c b/ssl/ssl_cert.c index 3eda14aea..48f247cea 100644 --- a/ssl/ssl_cert.c +++ b/ssl/ssl_cert.c @@ -431,8 +431,7 @@ int ssl_verify_cert_chain(SSL *s,STACK_OF(X509) *sk) X509_STORE_CTX_init(&ctx,s->ctx->cert_store,x,sk); if (SSL_get_verify_depth(s) >= 0) X509_STORE_CTX_set_depth(&ctx, SSL_get_verify_depth(s)); - X509_STORE_CTX_set_ex_data(&ctx,SSL_get_ex_data_X509_STORE_CTX_idx(), - (char *)s); + X509_STORE_CTX_set_ex_data(&ctx,SSL_get_ex_data_X509_STORE_CTX_idx(),s); /* We need to set the verify purpose. The purpose can be determined by * the context: if its a server it will verify SSL client certificates * or vice versa. |