diff options
author | Rainer Jung <rjung@apache.org> | 2016-02-07 17:10:46 +0100 |
---|---|---|
committer | Rainer Jung <rjung@apache.org> | 2016-02-07 17:10:46 +0100 |
commit | 811d4f350c913dfe2e492003e486f07b0a9c1e6a (patch) | |
tree | 35c185337726119b4a50fcc994fb8452af67ae6e /modules/ssl/ssl_ct_sct.c | |
parent | XML update. (diff) | |
download | apache2-811d4f350c913dfe2e492003e486f07b0a9c1e6a.tar.xz apache2-811d4f350c913dfe2e492003e486f07b0a9c1e6a.zip |
Support for OpenSSL 1.1.0:
- followup to r1728909 (incomplete switch
from struct to struct pointer).
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1728979 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules/ssl/ssl_ct_sct.c')
-rw-r--r-- | modules/ssl/ssl_ct_sct.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/ssl/ssl_ct_sct.c b/modules/ssl/ssl_ct_sct.c index 6d3652ac2b..e9e3ba307c 100644 --- a/modules/ssl/ssl_ct_sct.c +++ b/modules/ssl/ssl_ct_sct.c @@ -33,10 +33,10 @@ static apr_status_t verify_signature(sct_fields_t *sctf, } ctx = EVP_MD_CTX_new(); - ap_assert(1 == EVP_VerifyInit(&ctx, EVP_sha256())); - ap_assert(1 == EVP_VerifyUpdate(&ctx, sctf->signed_data, + ap_assert(1 == EVP_VerifyInit(ctx, EVP_sha256())); + ap_assert(1 == EVP_VerifyUpdate(ctx, sctf->signed_data, sctf->signed_data_len)); - rc = EVP_VerifyFinal(&ctx, sctf->sig, sctf->siglen, pkey); + rc = EVP_VerifyFinal(ctx, sctf->sig, sctf->siglen, pkey); EVP_MD_CTX_free(ctx); return rc == 1 ? APR_SUCCESS : APR_EINVAL; |