Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions ext/openssl/extconf.rb
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,7 @@ def find_openssl_library
have_func("X509_get0_notBefore")
have_func("SSL_SESSION_get_protocol_version")
have_func("EVP_PBE_scrypt")
have_func("CMS_sign")

Logging::message "=== Checking done. ===\n"

Expand Down
3 changes: 3 additions & 0 deletions ext/openssl/ossl.c
Original file line number Diff line number Diff line change
Expand Up @@ -1202,6 +1202,9 @@ Init_openssl(void)
Init_ossl_ns_spki();
Init_ossl_pkcs12();
Init_ossl_pkcs7();
#if defined(HAVE_CMS_SIGN)
Init_ossl_cms();
#endif
Init_ossl_pkey();
Init_ossl_rand();
Init_ossl_ssl();
Expand Down
4 changes: 4 additions & 0 deletions ext/openssl/ossl.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@
#include <openssl/ssl.h>
#include <openssl/pkcs12.h>
#include <openssl/pkcs7.h>
#if defined(HAVE_CMS_SIGN)
#include <openssl/cms.h>
#endif
#include <openssl/hmac.h>
#include <openssl/rand.h>
#include <openssl/conf.h>
Expand Down Expand Up @@ -165,6 +168,7 @@ void ossl_debug(const char *, ...);
#include "ossl_ocsp.h"
#include "ossl_pkcs12.h"
#include "ossl_pkcs7.h"
#include "ossl_cms.h"
#include "ossl_pkey.h"
#include "ossl_rand.h"
#include "ossl_ssl.h"
Expand Down
Loading