OPENSSL_VERSION_NUMBER < 0x10002000L to see if DTLSv1_method is available; it's an error at runtime only as it's in a dlopen'd module, and doesn't crash the process, just fails loading the module, so you don't notice until you wonder why calls are all failing...)