mirror of
https://github.com/openssl/openssl.git
synced 2024-11-27 12:04:38 +08:00
Fix simpledynamic.c - a typo and missed a header
CLA: trivial Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org> Reviewed-by: Matt Caswell <matt@openssl.org> Reviewed-by: Richard Levitte <levitte@openssl.org> (Merged from https://github.com/openssl/openssl/pull/13584)
This commit is contained in:
parent
527eb8d294
commit
9feb2fce65
@ -9,6 +9,7 @@
|
||||
|
||||
#include <stdlib.h> /* For NULL */
|
||||
#include <openssl/macros.h> /* For NON_EMPTY_TRANSLATION_UNIT */
|
||||
#include <openssl/e_os2.h>
|
||||
#include "simpledynamic.h"
|
||||
|
||||
#if defined(DSO_DLFCN)
|
||||
@ -42,7 +43,7 @@ const char *sd_error(void)
|
||||
|
||||
#elif defined(DSO_WIN32)
|
||||
|
||||
nt sd_load(const char *filename, SD *lib, ossl_unused int type)
|
||||
int sd_load(const char *filename, SD *lib, ossl_unused int type)
|
||||
{
|
||||
*lib = LoadLibraryA(filename);
|
||||
return *lib == NULL ? 0 : 1;
|
||||
|
Loading…
Reference in New Issue
Block a user