X-Git-Url: https://git.openssl.org/?p=openssl.git;a=blobdiff_plain;f=crypto%2Fdso%2Fdso_null.c;h=ab2125c28662a1f9b8426da41d0167082a054a6f;hp=79e6eddca29e00ed075f3eaae3c8144d83acc11a;hb=6f1a93ad111c7dfe36a09a976c4c009079b19ea1;hpb=b9e6391582c1a2c8ff6ebc96d7a2abb7483def2a diff --git a/crypto/dso/dso_null.c b/crypto/dso/dso_null.c index 79e6eddca2..ab2125c286 100644 --- a/crypto/dso/dso_null.c +++ b/crypto/dso/dso_null.c @@ -1,6 +1,7 @@ /* dso_null.c */ -/* Written by Geoff Thorpe (geoff@geoffthorpe.net) for the OpenSSL - * project 2000. +/* + * Written by Geoff Thorpe (geoff@geoffthorpe.net) for the OpenSSL project + * 2000. */ /* ==================================================================== * Copyright (c) 2000 The OpenSSL Project. All rights reserved. @@ -10,7 +11,7 @@ * are met: * * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. + * notice, this list of conditions and the following disclaimer. * * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in @@ -56,29 +57,31 @@ * */ -/* This "NULL" method is provided as the fallback for systems that have - * no appropriate support for "shared-libraries". */ +/* + * This "NULL" method is provided as the fallback for systems that have no + * appropriate support for "shared-libraries". + */ #include #include "cryptlib.h" #include static DSO_METHOD dso_meth_null = { - "NULL shared library method", - NULL, /* load */ - NULL, /* unload */ - NULL, /* bind */ -/* For now, "unbind" doesn't exist */ -#if 0 - NULL, /* unbind */ -#endif - NULL, /* ctrl */ - NULL, /* init */ - NULL /* finish */ - }; + "NULL shared library method", + NULL, /* load */ + NULL, /* unload */ + NULL, /* bind_var */ + NULL, /* bind_func */ + NULL, /* ctrl */ + NULL, /* dso_name_converter */ + NULL, /* dso_merger */ + NULL, /* init */ + NULL, /* finish */ + NULL, /* pathbyaddr */ + NULL /* globallookup */ +}; DSO_METHOD *DSO_METHOD_null(void) - { - return(&dso_meth_null); - } - +{ + return (&dso_meth_null); +}