Klaus Demo nginx / e71f399
add OpenSSL_add_all_algorithms(), this fixes the error "ASN1_item_verify:unknown message digest algorithm" occurred if client certificate is signed using sha256WithRSAEncryption Igor Sysoev 10 years ago
2 changed file(s) with 4 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
104104 SSL_load_error_strings();
105105
106106 ENGINE_load_builtin_engines();
107
108 OpenSSL_add_all_algorithms();
107109
108110 ngx_ssl_connection_index = SSL_get_ex_new_index(0, NULL, NULL, NULL, NULL);
109111
23142316 static void
23152317 ngx_openssl_exit(ngx_cycle_t *cycle)
23162318 {
2319 EVP_cleanup();
23172320 ENGINE_cleanup();
23182321 }
1414 #include <openssl/err.h>
1515 #include <openssl/conf.h>
1616 #include <openssl/engine.h>
17 #include <openssl/evp.h>
1718
1819 #define NGX_SSL_NAME "OpenSSL"
1920