/*
- * Copyright 2005-2018 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 2005-2020 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
{
pitem *item = OPENSSL_malloc(sizeof(*item));
- if (item == NULL) {
- SSLerr(SSL_F_PITEM_NEW, ERR_R_MALLOC_FAILURE);
+ if (item == NULL)
return NULL;
- }
memcpy(item->priority, prio64be, sizeof(item->priority));
item->data = data;
{
pqueue *pq = OPENSSL_zalloc(sizeof(*pq));
- if (pq == NULL)
- SSLerr(SSL_F_PQUEUE_NEW, ERR_R_MALLOC_FAILURE);
-
return pq;
}