globus_openssl_module(3)

πŸ’– globus_openssl_module β€” Globus OpenSSL Module πŸ’–

okay bestie, so this is the manual page for globus_openssl_module β€” literally the Globus OpenSSL Module. That's the whole vibe. Let's get into it ✨


πŸ¦‹ SYNOPSIS πŸ¦‹

✨ Topics ✨

  • Activation β€” Activation. (yep, that's the topic, she's self-explanatory πŸ’…)

🌸 DETAILED DESCRIPTION 🌸

Globus OpenSSL Module. (iconic, no notes)

okay so here's the tea πŸ«– β€” the globus_openssl library exists because somebody looked at OpenSSL and was like "bestie… this is not thread safe" 😭. So what they did is allocate a mutex pool and set the relevant callback functions in the module activation functions. That's the whole motivation. No cap.

Any program that uses OpenSSL functions with Globus must include the globus_openssl.h header. Like, mandatory mandatory. Don't skip it, that's the rules πŸŽ€

πŸ’… Activation πŸ’…

Globus OpenSSL uses standard Globus module activation and deactivation β€” nothing extra, nothing weird, just the usual module ritual ✨

Before any OpenSSL functions are called, you must call this:

globus_module_activate(GLOBUS_OPENSSL_MODULE)

This function returns GLOBUS_SUCCESS if OpenSSL was successfully initialized β€” and if you get that, congratulations, you are therefore allowed to subsequently call OpenSSL functions πŸŽ‰ Otherwise, an error code is returned, and OpenSSL functions should not subsequently be called. So like… respect the error code, fr fr.

Good news though: this function may be called multiple times. It's flexible like that πŸ’–

To deactivate the OpenSSL module, you must call:

globus_module_deactivate(GLOBUS_OPENSSL_MODULE)

And this one should be called once for each time OpenSSL was activated. Yes bestie, it's a one-in-one-out situation. Keep count or chaos ensues πŸ’€


πŸ‘‘ Author πŸ‘‘

Generated automatically by Doxygen for globus_openssl_module from the source code. (not a human, just a robot doing its little thing πŸ€–βœ¨)


and that's the page, bestie!! 🫢 this was Version 5.2 of the globus_openssl_module manual, dated as per the globus_openssl_module(3) footer, brought to you with love 🌈 mwah, slay, periodt πŸ’…πŸ’–

πŸ“¦ where this page comes from