mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-20 15:27:32 +09:00
Update NSS to 3.35-RTM
This commit is contained in:
parent
fe49ad404e
commit
66dd670b60
388 changed files with 39075 additions and 20752 deletions
|
|
@ -12,6 +12,12 @@ char *to_char(const uint8_t *x) {
|
|||
return reinterpret_cast<char *>(const_cast<unsigned char *>(x));
|
||||
}
|
||||
|
||||
void print_bn(std::string label, BIGNUM *x) {
|
||||
char *xc = BN_bn2hex(x);
|
||||
std::cout << label << ": " << std::hex << xc << std::endl;
|
||||
OPENSSL_free(xc);
|
||||
}
|
||||
|
||||
// Check that the two numbers are equal.
|
||||
void check_equal(BIGNUM *b, mp_int *m, size_t max_size) {
|
||||
char *bnBc = BN_bn2hex(b);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue