2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-09-05 09:05:40 +00:00

Do not assign NULL conditionally in OpenSSL < 1.1, make it always explicit.

This commit is contained in:
Petr Mensik
2018-02-24 10:47:35 -08:00
committed by Ondřej Surý
parent 01cc622e7b
commit edaafacf36
4 changed files with 7 additions and 5 deletions

View File

@@ -9,8 +9,6 @@
* information regarding copyright ownership.
*/
/* $Id: dst_openssl.h,v 1.11 2011/03/12 04:59:48 tbox Exp $ */
#ifndef DST_OPENSSL_H
#define DST_OPENSSL_H 1
@@ -41,7 +39,7 @@
* _cb;
* #endif
*/
#define BN_GENCB_free(x) (x = NULL);
#define BN_GENCB_free(x) ((void)0)
#define BN_GENCB_new() (&_cb)
#define BN_GENCB_get_arg(x) ((x)->arg)
#endif