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

Braiser BUILD #2137

Open
wants to merge 25 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Hides methods
  • Loading branch information
christian committed Feb 3, 2024

Verified

This commit was signed with the committer’s verified signature.
pmccarren Patrick McCarren
commit 8452a9e3f551b04af3f8d987e06aacc57aa5cd10
3 changes: 2 additions & 1 deletion folly/portability/OpenSSL.cpp
Original file line number Diff line number Diff line change
@@ -339,7 +339,7 @@ void EVP_MD_CTX_free(EVP_MD_CTX* ctx) {
EVP_MD_CTX_cleanup(ctx);
OPENSSL_free(ctx);
}
} */
}

HMAC_CTX* HMAC_CTX_new() {
HMAC_CTX* ctx = (HMAC_CTX*)OPENSSL_malloc(sizeof(HMAC_CTX));
@@ -356,6 +356,7 @@ void HMAC_CTX_free(HMAC_CTX* ctx) {
OPENSSL_free(ctx);
}
}
*/

bool RSA_set0_key(RSA* r, BIGNUM* n, BIGNUM* e, BIGNUM* d) {
// Based off of https://wiki.openssl.org/index.php/OpenSSL_1.1.0_Changes
4 changes: 2 additions & 2 deletions folly/portability/OpenSSL.h
Original file line number Diff line number Diff line change
@@ -218,8 +218,8 @@ unsigned char* ASN1_STRING_get0_data(const ASN1_STRING* x);
// EVP_MD_CTX* EVP_MD_CTX_new();
// void EVP_MD_CTX_free(EVP_MD_CTX* ctx);

HMAC_CTX* HMAC_CTX_new();
void HMAC_CTX_free(HMAC_CTX* ctx);
// HMAC_CTX* HMAC_CTX_new();
// void HMAC_CTX_free(HMAC_CTX* ctx);

unsigned long SSL_SESSION_get_ticket_lifetime_hint(const SSL_SESSION* s);
int SSL_SESSION_has_ticket(const SSL_SESSION* s);