Implement and use a generic auth. cookie initialization function.
Use the generic function for both the ControlPort cookie and the ExtORPort cookie. Also, place the global cookie variables in the heap so that we can pass them around more easily as pointers. Also also, fix the unit tests that broke by this change. Conflicts: src/or/config.h src/or/ext_orport.c
Showing
- src/or/config.c 55 additions, 0 deletionssrc/or/config.c
- src/or/config.h 4 additions, 0 deletionssrc/or/config.h
- src/or/control.c 12 additions, 29 deletionssrc/or/control.c
- src/or/ext_orport.c 13 additions, 39 deletionssrc/or/ext_orport.c
- src/or/ext_orport.h 1 addition, 1 deletionsrc/or/ext_orport.h
- src/test/test_extorport.c 10 additions, 6 deletionssrc/test/test_extorport.c
Loading
Please register or sign in to comment