Giter Club home page Giter Club logo

Comments (5)

PerlaGCastillo avatar PerlaGCastillo commented on June 19, 2024

Patching Navicat.
make: *** [Makefile:70: patcher] Error 1

from navicat-linux.

qbnil avatar qbnil commented on June 19, 2024

Got the same problem with openssl

from navicat-linux.

banghia112 avatar banghia112 commented on June 19, 2024

To fix this problem, you have to install OpenSSL development package

sudo apt-get install libssl-dev

then redo make all

from navicat-linux.

SolracLeinad avatar SolracLeinad commented on June 19, 2024

To fix this problem, you have to install OpenSSL development package

sudo apt-get install libssl-dev

then redo make all

/usr/include/openssl/rsa.h:285:5: note: declared here
  285 | int RSA_private_encrypt(int flen, const unsigned char *from, unsigned char *to,
      |     ^~~~~~~~~~~~~~~~~~~
./common/RSACipher.hpp:217:50: warning: ‘int RSA_public_encrypt(int, const unsigned char*, unsigned char*, RSA*, int)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  217 |                 BytesWritten = RSA_public_encrypt(
      |                                ~~~~~~~~~~~~~~~~~~^
  218 |                     static_cast<int>(cbFrom),
      |                     ~~~~~~~~~~~~~~~~~~~~~~~~~     
  219 |                     reinterpret_cast<const unsigned char*>(lpFrom),
      |                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  220 |                     reinterpret_cast<unsigned char*>(lpTo),
      |                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  221 |                     Get(),
      |                     ~~~~~~                        
  222 |                     Padding
      |                     ~~~~~~~                       
  223 |                 );
      |                 ~                                 
/usr/include/openssl/rsa.h:282:5: note: declared here
  282 | int RSA_public_encrypt(int flen, const unsigned char *from, unsigned char *to,
      |     ^~~~~~~~~~~~~~~~~~
./common/RSACipher.hpp: In member function ‘size_t nkg::RSACipher::Decrypt(const void*, size_t, void*, int) const’:
./common/RSACipher.hpp:242:51: warning: ‘int RSA_private_decrypt(int, const unsigned char*, unsigned char*, RSA*, int)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  242 |                 BytesWritten = RSA_private_decrypt(
      |                                ~~~~~~~~~~~~~~~~~~~^
  243 |                     static_cast<int>(cbFrom),
      |                     ~~~~~~~~~~~~~~~~~~~~~~~~~      
  244 |                     reinterpret_cast<const unsigned char*>(lpFrom),
      |                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  245 |                     reinterpret_cast<unsigned char*>(lpTo),
      |                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  246 |                     Get(),
      |                     ~~~~~~                         
  247 |                     Padding
      |                     ~~~~~~~                        
  248 |                 );
      |                 ~                                  
/usr/include/openssl/rsa.h:291:5: note: declared here
  291 | int RSA_private_decrypt(int flen, const unsigned char *from, unsigned char *to,
      |     ^~~~~~~~~~~~~~~~~~~
./common/RSACipher.hpp:255:50: warning: ‘int RSA_public_decrypt(int, const unsigned char*, unsigned char*, RSA*, int)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  255 |                 BytesWritten = RSA_public_decrypt(
      |                                ~~~~~~~~~~~~~~~~~~^
  256 |                     static_cast<int>(cbFrom),
      |                     ~~~~~~~~~~~~~~~~~~~~~~~~~     
  257 |                     reinterpret_cast<const unsigned char*>(lpFrom),
      |                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  258 |                     reinterpret_cast<unsigned char*>(lpTo),
      |                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  259 |                     Get(),
      |                     ~~~~~~                        
  260 |                     Padding
      |                     ~~~~~~~                       
  261 |                 );
      |                 ~                                 
/usr/include/openssl/rsa.h:288:5: note: declared here
  288 | int RSA_public_decrypt(int flen, const unsigned char *from, unsigned char *to,
      |     ^~~~~~~~~~~~~~~~~~
./common/RSACipher.hpp: In instantiation of ‘static RSA* nkg::RSACipher::_ReadRSAFromBIO(BIO*) [with nkg::RSAKeyType __Type = nkg::RSAKeyType::PrivateKey; nkg::RSAKeyFormat __Format = nkg::RSAKeyFormat::PEM; RSA = rsa_st; BIO = bio_st]’:
./common/RSACipher.hpp:177:65:   required from ‘void nkg::RSACipher::ImportKeyFromFile(std::string_view) [with nkg::RSAKeyType __Type = nkg::RSAKeyType::PrivateKey; nkg::RSAKeyFormat __Format = nkg::RSAKeyFormat::PEM; std::string_view = std::basic_string_view<char>]’
./navicat-patcher/main.cpp:114:86:   required from here
./common/RSACipher.hpp:61:51: warning: ‘RSA* PEM_read_bio_RSAPrivateKey(BIO*, RSA**, int (*)(char*, int, int, void*), void*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
   61 |                 lpRSA = PEM_read_bio_RSAPrivateKey(lpBIO, nullptr, nullptr, nullptr);
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/pem.h:447:1: note: declared here
  447 | DECLARE_PEM_rw_cb_attr(OSSL_DEPRECATEDIN_3_0, RSAPrivateKey, RSA)
      | ^~~~~~~~~~~~~~~~~~~~~~
./common/RSACipher.hpp:61:51: warning: ‘RSA* PEM_read_bio_RSAPrivateKey(BIO*, RSA**, int (*)(char*, int, int, void*), void*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
   61 |                 lpRSA = PEM_read_bio_RSAPrivateKey(lpBIO, nullptr, nullptr, nullptr);
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/pem.h:447:1: note: declared here
  447 | DECLARE_PEM_rw_cb_attr(OSSL_DEPRECATEDIN_3_0, RSAPrivateKey, RSA)
      | ^~~~~~~~~~~~~~~~~~~~~~
make: *** [Makefile:70: patcher] Error 1

Seems like Debian 12 is using libssl-dev 3.0.11

from navicat-linux.

chiragkanhasoft avatar chiragkanhasoft commented on June 19, 2024

make it compatible with Ubuntu 22.04 please

from navicat-linux.

Related Issues (1)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.