mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2026-05-05 14:54:11 +02:00
Fixes for building with ipsec-tools/racoon and openvpn:
* Fix for `EVP_CIPHER_CTX_flags`, which mapped to a missing function (broke openvpn) * Added stack of name entries for ipsec/racoon support. * Added `X509_STORE_CTX_set_flags` stub. * Added PKCS7 NID types. * Improved FIPS "SHA" logic in `test_wolfSSL_SHA` * Added some uncommon NID type definitions. * Expose the DH `DH_set_length` and `DH_set0_pqg` with OPENSSL_ALL
This commit is contained in:
@@ -326,6 +326,12 @@ unsigned long wolfSSL_EVP_CIPHER_CTX_mode(const WOLFSSL_EVP_CIPHER_CTX *ctx)
|
||||
return ctx->flags & WOLFSSL_EVP_CIPH_MODE;
|
||||
}
|
||||
|
||||
unsigned long wolfSSL_EVP_CIPHER_CTX_flags(const WOLFSSL_EVP_CIPHER_CTX *ctx)
|
||||
{
|
||||
if (ctx == NULL) return 0;
|
||||
return ctx->flags;
|
||||
}
|
||||
|
||||
int wolfSSL_EVP_EncryptFinal(WOLFSSL_EVP_CIPHER_CTX *ctx,
|
||||
unsigned char *out, int *outl)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user