diff options
author | Richard Levitte <levitte@openssl.org> | 2020-11-04 12:18:33 +0100 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2020-11-11 12:12:11 +0100 |
commit | 6849b73ccc38ea95e4b9d50b01e1c94f5ce8bca7 (patch) | |
tree | 2e5ab6caac3ebc00a6b9fba694aefd666d439799 /ssl/pqueue.c | |
parent | OSSL_STORE: Make sure the called OSSL_DECODER knows what to expect (diff) | |
download | openssl-6849b73ccc38ea95e4b9d50b01e1c94f5ce8bca7.tar.xz openssl-6849b73ccc38ea95e4b9d50b01e1c94f5ce8bca7.zip |
Convert all {NAME}err() in ssl/ to their corresponding ERR_raise() call
This was done using util/err-to-raise
Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/13316)
Diffstat (limited to 'ssl/pqueue.c')
-rw-r--r-- | ssl/pqueue.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ssl/pqueue.c b/ssl/pqueue.c index 2e9ceeccd9..53f295feaa 100644 --- a/ssl/pqueue.c +++ b/ssl/pqueue.c @@ -20,7 +20,7 @@ pitem *pitem_new(unsigned char *prio64be, void *data) pitem *item = OPENSSL_malloc(sizeof(*item)); if (item == NULL) { - SSLerr(SSL_F_PITEM_NEW, ERR_R_MALLOC_FAILURE); + ERR_raise(ERR_LIB_SSL, ERR_R_MALLOC_FAILURE); return NULL; } @@ -40,7 +40,7 @@ pqueue *pqueue_new(void) pqueue *pq = OPENSSL_zalloc(sizeof(*pq)); if (pq == NULL) - SSLerr(SSL_F_PQUEUE_NEW, ERR_R_MALLOC_FAILURE); + ERR_raise(ERR_LIB_SSL, ERR_R_MALLOC_FAILURE); return pq; } |