Skip to content

Commit

Permalink
remove c code
Browse files Browse the repository at this point in the history
  • Loading branch information
qmuntal committed Feb 20, 2025
1 parent cc794ec commit 11e073f
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions goopenssl.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,23 +4,6 @@

#include "shims.h"

// Suppress warnings about unused parameters.
#define UNUSED(x) (void)(x)

static inline void
go_openssl_do_leak_check(void)
{
#ifndef __has_feature
#define __has_feature(x) 0
#endif

#if (defined(__SANITIZE_ADDRESS__) && __SANITIZE_ADDRESS__) || \
__has_feature(address_sanitizer)
extern void __lsan_do_leak_check(void);
__lsan_do_leak_check();
#endif
}

int go_openssl_fips_enabled(void* handle);
int go_openssl_version_major(void* handle);
int go_openssl_version_minor(void* handle);
Expand Down

0 comments on commit 11e073f

Please sign in to comment.