From 8e8b8cacbb2dbf14930646c0607ad4c937169ae0 Mon Sep 17 00:00:00 2001 From: tb Date: Thu, 20 Jan 2022 20:35:46 +0000 Subject: [PATCH] Use correct spelling of NULL. --- lib/libssl/ssl_sigalgs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/libssl/ssl_sigalgs.c b/lib/libssl/ssl_sigalgs.c index 95c624af9cd..2960b127e04 100644 --- a/lib/libssl/ssl_sigalgs.c +++ b/lib/libssl/ssl_sigalgs.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ssl_sigalgs.c,v 1.38 2021/11/26 16:41:42 tb Exp $ */ +/* $OpenBSD: ssl_sigalgs.c,v 1.39 2022/01/20 20:35:46 tb Exp $ */ /* * Copyright (c) 2018-2020 Bob Beck * Copyright (c) 2021 Joel Sing @@ -322,7 +322,7 @@ ssl_sigalg_select(SSL *s, EVP_PKEY *pkey) uint16_t sigalg_value; if (!CBS_get_u16(&cbs, &sigalg_value)) - return 0; + return NULL; if ((sigalg = ssl_sigalg_from_value(s, sigalg_value)) == NULL) continue; -- 2.20.1