-fix tests for libmagic (and uncrustify indentation)

This commit is contained in:
Christian Grothoff
2021-12-08 14:11:31 +01:00
parent 43938f8d41
commit dbe1d76d9c
33 changed files with 531 additions and 530 deletions
+1 -1
View File
@@ -128,7 +128,7 @@ iovec_ahc (void *cls,
iov[j].iov_len = TESTSTR_SIZE / TESTSTR_IOVCNT;
for (i = 0; i < (int) (TESTSTR_IOVLEN / sizeof(int)); ++i)
((int*) iov[j].iov_base)[i] = i + (j * TESTSTR_IOVLEN / sizeof(int));
((int *) iov[j].iov_base)[i] = i + (j * TESTSTR_IOVLEN / sizeof(int));
}
response = MHD_create_response_from_iovec (iov,
+1 -1
View File
@@ -55,7 +55,7 @@ query_session_ahc (void *cls, struct MHD_Connection *connection,
if (NULL == *ptr)
{
*ptr = (void*) &query_session_ahc;
*ptr = (void *) &query_session_ahc;
return MHD_YES;
}
+3 -3
View File
@@ -132,11 +132,11 @@ load_keys (const char *hostname,
*/
static int
sni_callback (gnutls_session_t session,
const gnutls_datum_t*req_ca_dn,
const gnutls_datum_t *req_ca_dn,
int nreqs,
const gnutls_pk_algorithm_t*pk_algos,
const gnutls_pk_algorithm_t *pk_algos,
int pk_algos_length,
gnutls_pcert_st**pcert,
gnutls_pcert_st **pcert,
unsigned int *pcert_length,
gnutls_privkey_t *pkey)
{