| SerfCallbacks.cxx (c58749d7) | SerfCallbacks.cxx (10e20387) |
|---|---|
| 1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance --- 50 unchanged lines hidden (view full) --- 59 authn_type, 60 realm, 61 pool ); 62} 63 64extern "C" apr_status_t Serf_CertificateChainValidation( 65 void* pSerfSession, 66 int nFailures, | 1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance --- 50 unchanged lines hidden (view full) --- 59 authn_type, 60 realm, 61 pool ); 62} 63 64extern "C" apr_status_t Serf_CertificateChainValidation( 65 void* pSerfSession, 66 int nFailures, |
| 67 const char** pCertificateChainBase64Encoded, 68 int nCertificateChainLength) | 67 int nErrorCode, 68 const serf_ssl_certificate_t * const * pCertificateChainBase64Encoded, 69 apr_size_t nCertificateChainLength) |
| 69{ 70 return static_cast<SerfSession*>(pSerfSession) 71 ->verifySerfCertificateChain(nFailures, pCertificateChainBase64Encoded, nCertificateChainLength); 72} 73 74extern "C" apr_status_t Serf_SetupRequest( serf_request_t *request, 75 void *setup_baton, 76 serf_bucket_t **req_bkt, --- 38 unchanged lines hidden --- | 70{ 71 return static_cast<SerfSession*>(pSerfSession) 72 ->verifySerfCertificateChain(nFailures, pCertificateChainBase64Encoded, nCertificateChainLength); 73} 74 75extern "C" apr_status_t Serf_SetupRequest( serf_request_t *request, 76 void *setup_baton, 77 serf_bucket_t **req_bkt, --- 38 unchanged lines hidden --- |