| 91 | } |
| 92 | |
| 93 | pqueue pqueue_new(void) { |
| 94 | pqueue_s *pq = OPENSSL_malloc(sizeof(pqueue_s)); |
| 95 | if (pq == NULL) { |
| 96 | return NULL; |
| 97 | } |
| 98 | |
| 99 | memset(pq, 0, sizeof(pqueue_s)); |
| 100 | return pq; |
| 101 | } |
| 102 | |
| 103 | void pqueue_free(pqueue_s *pq) { |
| 104 | if (pq == NULL) { |
no outgoing calls