Comments (2)
The RSA_FLAG_CACHE_PUBLIC
flag (on by default) instructs OpenSSL to cache this value in the RSA
object. It gets freed when the RSA
object gets freed - not when the certificate is freed:
static int rsa_ossl_finish(RSA *rsa)
{
int i;
RSA_PRIME_INFO *pinfo;
BN_MONT_CTX_free(rsa->_method_mod_n);
BN_MONT_CTX_free(rsa->_method_mod_p);
BN_MONT_CTX_free(rsa->_method_mod_q);
for (i = 0; i < sk_RSA_PRIME_INFO_num(rsa->prime_infos); i++) {
pinfo = sk_RSA_PRIME_INFO_value(rsa->prime_infos, i);
BN_MONT_CTX_free(pinfo->m);
}
return 1;
}
from openssl.
Hi @mattcaswell
Thanks alot for the response. I could track it to our application issue. We were wrongly handling the certificates in cert store
Regards,
Jayalakshmi
from openssl.
Related Issues (20)
- Update in Fips provider from 3.0.8
- configure: error: OpenSSL version test program failed. HOT 2
- LeakSanitizer: detected memory leaks HOT 4
- OPENSSL_ia32cap doesn't work to disable AES-NI on certain processor HOT 5
- 3.3.1 Build fails on Solaris 10 due to missing -lrt for clock_gettime HOT 1
- Observed bugs and weirdness in util/check-format.pl [20240716] HOT 1
- [BUG] Use of strnlen() is not portable HOT 17
- [BUG] test_lhash fails on NonStop (threading) at commit 01753c09bb HOT 102
- Current master: tests hang up HOT 2
- [BUG] Cannot override cc in Configurations HOT 2
- Re-key a CA hierachy from its certificate HOT 2
- OPENSSL_NO_DEPRECATED prevents compiling HOT 4
- signature algorithms (RSA, DSA, ECDSA) & digests HOT 1
- EdDSA verify using prehashed message not allowed in FIPS HOT 1
- No "ossl_static.pdb" is generated when compiling with Clang HOT 1
- Statically linked openssl and/or OpenSSL libraries: Enable simple use of static third party provider(s) HOT 10
- A0340100:error:8000274C:system library:BIO_connect:Unknown error:crypto\bio\bio_sock2.c:178:calling connect() HOT 1
- Once Fips is enable can't encrypt/decrypt file on version 3.0.2-fips HOT 7
- Segmentation Fault in OpenSSL-1.1.1 CRYPTO_THREAD_write_lock when using an engine for RSA HOT 5
- ossl_cipher_unpadblock rejecting valid plaintexts by default (3.3.1 Windows MSVC) HOT 11
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openssl.