From ca6703b19011aef521b71a62c9c4aefc2a67bf44 Mon Sep 17 00:00:00 2001 From: tb Date: Tue, 19 Sep 2023 01:19:45 +0000 Subject: [PATCH] Fix some NULL/0 misspellings in SSL_CTX_new() --- lib/libssl/ssl_lib.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/libssl/ssl_lib.c b/lib/libssl/ssl_lib.c index 76fcfdec8f7..8f1add981ca 100644 --- a/lib/libssl/ssl_lib.c +++ b/lib/libssl/ssl_lib.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ssl_lib.c,v 1.312 2023/07/19 13:34:33 tb Exp $ */ +/* $OpenBSD: ssl_lib.c,v 1.313 2023/09/19 01:19:45 tb Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -2119,11 +2119,11 @@ SSL_CTX_new(const SSL_METHOD *meth) if ((ret->cert = ssl_cert_new()) == NULL) goto err; - ret->default_passwd_callback = 0; + ret->default_passwd_callback = NULL; ret->default_passwd_callback_userdata = NULL; - ret->client_cert_cb = 0; - ret->app_gen_cookie_cb = 0; - ret->app_verify_cookie_cb = 0; + ret->client_cert_cb = NULL; + ret->app_gen_cookie_cb = NULL; + ret->app_verify_cookie_cb = NULL; ret->sessions = lh_SSL_SESSION_new(); if (ret->sessions == NULL) -- 2.20.1