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

Remove unused ax_port_*alloc() functions #3482

Merged
merged 2 commits into from
Aug 1, 2017

Conversation

earlephilhower
Copy link
Collaborator

@earlephilhower earlephilhower commented Jul 31, 2017

The ax_port_malloc, ax_port_calloc, ax_port_realloc, and ax_port_free functions in WiFiClientSecure are not actually used by the AXTLS library. It's directly using the library routines, and these function are never
used. Remove these dead bits of code to make the axtls operation clearer.

...snip of a series of greps on AXTLS head...
earle@server:~/src/axtls-8266$ grep -r ax_port_malloc .
earle@server:~/src/axtls-8266$ grep -r ax_port_calloc .
earle@server:~/src/axtls-8266$ grep -r ax_port_realloc .
earle@server:~/src/axtls-8266$ grep -r ax_port_free .
earle@server:~/src/axtls-8266$

The ax_port_malloc, ax_port_calloc, ax_port_realloc, and ax_port_free
functions in WiFiClientSecure are not actually used by the AXTLS library.
It's directly using the library routines, and these function are never
used.  Remove these dead bits of code to make the axtls operation clearer.
@igrr igrr merged commit 8f04be4 into esp8266:master Aug 1, 2017
d-a-v pushed a commit to d-a-v/Arduino that referenced this pull request Sep 29, 2017
The ax_port_malloc, ax_port_calloc, ax_port_realloc, and ax_port_free
functions in WiFiClientSecure are not actually used by the AXTLS library.
It's directly using the library routines, and these function are never
used.  Remove these dead bits of code to make the axtls operation clearer.
@earlephilhower earlephilhower deleted the deadaxwrapper branch March 9, 2018 05:43
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