Skip to content

Commit 77f811a

Browse files
committed
oops: add default parameters to OPENSSL_init_crypto (>=1.1.0)
Signed-off-by: Hans Zandbelt <hans.zandbelt@zmartzone.eu>
1 parent db14121 commit 77f811a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/util.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ oauth2_log_t *oauth2_init(oauth2_log_level_t level, oauth2_log_sink_t *sink)
4747
{
4848
oauth2_log_t *log = NULL;
4949
#if OPENSSL_VERSION_NUMBER >= 0x10100000L
50-
OPENSSL_init_crypto();
50+
OPENSSL_init_crypto(0, NULL);
5151
#else
5252
ERR_load_crypto_strings();
5353
OpenSSL_add_all_algorithms();

0 commit comments

Comments
 (0)