Skip to content

Commit 3f96d14

Browse files
committed
80 characters limit fix
1 parent 12a5cb4 commit 3f96d14

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

src/internal.c

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2462,14 +2462,18 @@ int InitSSL_Ctx(WOLFSSL_CTX* ctx, WOLFSSL_METHOD* method, void* heap)
24622462
XMEMSET(ctx->param, 0, sizeof(WOLFSSL_X509_VERIFY_PARAM));
24632463

24642464
/* WOLFSSL_X509_LOOKUP */
2465-
if ((ctx->x509_store.lookup.dirs = (WOLFSSL_BY_DIR*)XMALLOC(sizeof(WOLFSSL_BY_DIR), heap, DYNAMIC_TYPE_OPENSSL)) == NULL) {
2465+
if ((ctx->x509_store.lookup.dirs = (WOLFSSL_BY_DIR*)XMALLOC(
2466+
sizeof(WOLFSSL_BY_DIR),
2467+
heap, DYNAMIC_TYPE_OPENSSL)) == NULL) {
24662468
WOLFSSL_MSG("ctx-x509_store.lookup.dirs: allocation error");
24672469
return MEMORY_E;
24682470
}
24692471
XMEMSET(ctx->x509_store.lookup.dirs, 0, sizeof(WOLFSSL_BY_DIR));
24702472

24712473
/* param */
2472-
if ((ctx->x509_store.param = (WOLFSSL_X509_VERIFY_PARAM*)XMALLOC(sizeof(WOLFSSL_X509_VERIFY_PARAM), heap, DYNAMIC_TYPE_OPENSSL)) == NULL) {
2474+
if ((ctx->x509_store.param = (WOLFSSL_X509_VERIFY_PARAM*)XMALLOC(
2475+
sizeof(WOLFSSL_X509_VERIFY_PARAM),
2476+
heap, DYNAMIC_TYPE_OPENSSL)) == NULL) {
24732477
WOLFSSL_MSG("ctx->x509_store.param: allocation error");
24742478
return MEMORY_E;
24752479
}

0 commit comments

Comments
 (0)