Mercurial > hg > nginx-quic
view src/os/unix/ngx_dlopen.c @ 8736:efbcecbe5805 stable-1.20
SSL: SSL_CTX_set_tmp_dh() error handling.
For example, it can fail due to weak DH parameters.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Wed, 04 Aug 2021 21:27:51 +0300 |
parents | 7142b04337d6 |
children |
line wrap: on
line source
/* * Copyright (C) Maxim Dounin * Copyright (C) Nginx, Inc. */ #include <ngx_config.h> #include <ngx_core.h> #if (NGX_HAVE_DLOPEN) char * ngx_dlerror(void) { char *err; err = (char *) dlerror(); if (err == NULL) { return ""; } return err; } #endif