Skip to content

Compatiblity Layer Fixes for serial number / ASN1 time / and order of name components#3247

Merged
toddouska merged 7 commits intowolfSSL:masterfrom
JacobBarthelmeh:Compatibility-Layer
Sep 16, 2020
Merged

Compatiblity Layer Fixes for serial number / ASN1 time / and order of name components#3247
toddouska merged 7 commits intowolfSSL:masterfrom
JacobBarthelmeh:Compatibility-Layer

Conversation

@JacobBarthelmeh
Copy link
Contributor

@JacobBarthelmeh JacobBarthelmeh commented Aug 25, 2020

Compatibility Layer Fixes:

  • Fix for setting serial number wolfSSL_X509_set_serialNumber
  • Fix for setting ASN1 time not before / not after with WOLFSSL_X509
  • Fix for mutex free'ing during RNG failure case with EVP_KEY creation
  • Fix for order of components in issuer name when using X509_sign

Added macros to adjust max size of certificate and max entries.
WC_MAX_NAME_ENTRIES
WC_MAX_X509_GEN

@JacobBarthelmeh JacobBarthelmeh self-assigned this Aug 25, 2020
@JacobBarthelmeh JacobBarthelmeh changed the title Fix for ASN1 time and serial number with WOLFSSL_X509 structure Compatiblity Layer Fixes for serial number / ASN1 time / and order of name components Sep 2, 2020
@JacobBarthelmeh
Copy link
Contributor Author

This example added hits a lot of the fixes made here (wolfSSL/wolfssl-examples#221).

@toddouska toddouska merged commit a3fca7f into wolfSSL:master Sep 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants