Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[dev.icinga.com #12647] OpenSSL: RSA_generate_key is deprecated #4635

Closed
icinga-migration opened this issue Sep 5, 2016 · 1 comment
Closed
Labels
bug Something isn't working core/quality Improve code, libraries, algorithms, inline docs
Milestone

Comments

@icinga-migration
Copy link

This issue has been migrated from Redmine: https://dev.icinga.com/issues/12647

Created by mfrosch on 2016-09-05 11:12:18 +00:00

Assignee: (none)
Status: New
Target Version: (none)
Last Update: 2016-09-05 11:12:18 +00:00 (in Redmine)

Icinga Version: 2.5.0
Backport?: Not yet backported
Include in Changelog: 1

Please replace.

/home/markus/devel/icinga/icinga2/lib/base/tlsutility.cpp: In function ‘int icinga::MakeX509CSR(const icinga::String&, const icinga::String&, const icinga::String&, const icinga::String&, bool)’:
/home/markus/devel/icinga/icinga2/lib/base/tlsutility.cpp:327:13: warning: ‘RSA* RSA_generate_key(int, long unsigned int, void (*)(int, int, void*), void*)’ is deprecated [-Wdeprecated-declarations]
  RSA *rsa = RSA_generate_key(4096, RSA_F4, NULL, NULL);
             ^~~~~~~~~~~~~~~~
In file included from /usr/include/openssl/x509.h:31:0,
                 from /usr/include/openssl/ssl.h:50,
                 from /home/markus/devel/icinga/icinga2/lib/base/tlsutility.hpp:26,
                 from /home/markus/devel/icinga/icinga2/lib/base/tlsstream.hpp:27,
                 from /home/markus/devel/icinga/icinga2/lib/base/tlsstream.cpp:20,
                 from /home/markus/devel/icinga/icinga2/build/lib/base/base_unity.cpp:60:
/usr/include/openssl/rsa.h:193:6: note: declared here
 DEPRECATEDIN_0_9_8(RSA *RSA_generate_key(int bits, unsigned long e, void
      ^~~~~~~~~~~~~~~~
@icinga-migration icinga-migration added bug Something isn't working libbase labels Jan 17, 2017
@dnsmichi dnsmichi added the LOW label Feb 7, 2017
Crunsher added a commit that referenced this issue Aug 29, 2017
Also increases the exponent
TODO: testing

refs #4635

sadasdasdas
Crunsher added a commit that referenced this issue Sep 13, 2017
@Crunsher
Copy link
Contributor

Closed by #5555

@dnsmichi dnsmichi reopened this May 10, 2019
@dnsmichi dnsmichi added this to the 2.11.0 milestone May 10, 2019
@dnsmichi dnsmichi added the core/quality Improve code, libraries, algorithms, inline docs label May 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working core/quality Improve code, libraries, algorithms, inline docs
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants