mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-31 20:19:34 -05:00
Cleanup warnings
This commit is contained in:
parent
e5ee07785e
commit
f09ffffcbd
1 changed files with 2 additions and 2 deletions
|
|
@ -121,7 +121,7 @@ static void tlso_thr_init( void ) {}
|
|||
* OpenSSL 1.1 API and later makes the BIO method concrete types internal.
|
||||
*/
|
||||
|
||||
static const BIO_METHOD *
|
||||
static BIO_METHOD *
|
||||
BIO_meth_new( int type, const char *name )
|
||||
{
|
||||
BIO_METHOD *method = LDAP_MALLOC( sizeof(BIO_METHOD) );
|
||||
|
|
@ -883,7 +883,7 @@ static int
|
|||
tlso_session_pinning( LDAP *ld, tls_session *sess, char *hashalg, struct berval *hash )
|
||||
{
|
||||
tlso_session *s = (tlso_session *)sess;
|
||||
char *tmp, digest[EVP_MAX_MD_SIZE];
|
||||
unsigned char *tmp, digest[EVP_MAX_MD_SIZE];
|
||||
struct berval key,
|
||||
keyhash = { .bv_val = digest, .bv_len = sizeof(digest) };
|
||||
X509 *cert = SSL_get_peer_certificate(s);
|
||||
|
|
|
|||
Loading…
Reference in a new issue