You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm compling licensecc on windows with ssl. And I generate the private_key.rsa with 4096 bits (the default is 1024 bits).
When I test with open-license-manager/examples/simple_pc_identifier the program crashes without any information.
I try to locate the crash points. It first crashes at acquire_license in the example.cpp. And finnaly it's at unsigned int len = BIO_read(biosig, (void*)buffer, signatureB64.size()); in the file licensecc\src\library\os\openssl\signature_verifier.cpp. I print the signatureB64.size() and it's 684 bytes long so I try to change unsigned char buffer[512]; to unsigned char buffer[1024];, no more crashes.
Maybe someone can change the 512 to 1024 and commit it.
The text was updated successfully, but these errors were encountered:
I'm compling licensecc on windows with ssl. And I generate the private_key.rsa with 4096 bits (the default is 1024 bits).
When I test with
open-license-manager/examples/simple_pc_identifier
the program crashes without any information.I try to locate the crash points. It first crashes at
acquire_license
in theexample.cpp
. And finnaly it's atunsigned int len = BIO_read(biosig, (void*)buffer, signatureB64.size());
in the filelicensecc\src\library\os\openssl\signature_verifier.cpp
. I print thesignatureB64.size()
and it's 684 bytes long so I try to changeunsigned char buffer[512];
tounsigned char buffer[1024];
, no more crashes.Maybe someone can change the
512
to1024
and commit it.The text was updated successfully, but these errors were encountered: