Skip to content
This repository has been archived by the owner on Nov 3, 2021. It is now read-only.

Build for electron not working #77

Closed
kenshyx opened this issue Nov 22, 2016 · 7 comments
Closed

Build for electron not working #77

kenshyx opened this issue Nov 22, 2016 · 7 comments

Comments

@kenshyx
Copy link

kenshyx commented Nov 22, 2016

Hello, I'm trying to build this package for electron but no luck :/

../src/rsa/rsa_oaep.cpp: In function ‘Handle<std::basic_string<char> > RSA_OAEP_enc_dec(Handle<ScopedSSL<evp_pkey_st, ScopedEVP_PKEY_free> >, const EVP_MD*, Handle<std::basic_string<char> >, Handle<std::basic_string<char> >, bool)’:
../src/rsa/rsa_oaep.cpp:35:48: error: ‘EVP_PKEY_CTX_set_rsa_oaep_md’ was not declared in this scope
  if (EVP_PKEY_CTX_set_rsa_oaep_md(ctx.Get(), md) < 1) {
                                                ^
../src/rsa/rsa_oaep.cpp:49:72: error: ‘EVP_PKEY_CTX_set0_rsa_oaep_label’ was not declared in this scope
   if (EVP_PKEY_CTX_set0_rsa_oaep_label(ctx.Get(), label_copy, label_len) < 1) {
                                                                        ^
make: *** [Release/obj.target/nodessl/src/rsa/rsa_oaep.o] Error 1

Using: electron 1.4.7, node -v v6.3.0, node-gyp -v v3.3.1

@microshine
Copy link
Contributor

@kenshyx
Copy link
Author

kenshyx commented Nov 23, 2016

Yes, I tried all available methods.

@microshine
Copy link
Contributor

maybe electron uses another OpenSSL version. I'll check it later.

Why don't you use W3 Crypto from window?

@kenshyx
Copy link
Author

kenshyx commented Nov 23, 2016

This package is a dependency of a library that I need :(

@microshine
Copy link
Contributor

ok. i'll see what i can do

@microshine
Copy link
Contributor

I found this electron/electron#1410 (comment)

@kenshyx
Copy link
Author

kenshyx commented Nov 24, 2016

Sad :/, thanks for the info.

# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants