$ vim carl.c
/* stdint or equivalent set here */
#include "cryanc.c"

They're including a C source file and not a header? That is incredibly cursed :blobcat_notlikethis:

To make it worse:

$ wc -l cryanc.c 
47576 cryanc.c

It's not just a C file, it's a HUGE C file... This is in carl.c, the example program that shows how to use their library. I definitely don't want to compile 47576 additional lines of code every time I make a change to my TLS code...

I need to finally return home to my real hardware and then test how bad it really is on the real hardware...

Maybe the way to do it is to use Mbed TLS on modern platforms that support C99 and Crypto Ancienne on everything else?

Though including almost 50000 lines of C source is incredibly cursed

Perhaps I'll have to patch it so that I can just use the headers...

@vaporeon_ vaporeon will rue the day they see a typical node_modules

@vaporeon_ @wallhackio granted, a lot of those lines of code are dependencies of development tools (eslint, the TypeScript compiler, webpack, etc. etc.); most purrojects aren’t purrobably really linking with anywhere near all of those 200MB’s worth of javascript

it’s still ludicrous though

Sign in to participate in the conversation
📟🐱 GlitchCat

A small, community‐oriented Mastodon‐compatible Fediverse (GlitchSoc) instance managed as a joint venture between the cat and KIBI families.