winlin

revert test code

@@ -222,28 +222,12 @@ void show_macro_features() @@ -222,28 +222,12 @@ void show_macro_features()
222 #endif 222 #endif
223 } 223 }
224 224
225 -#include <srs_rtmp_handshake.hpp>  
226 /** 225 /**
227 * main entrance. 226 * main entrance.
228 */ 227 */
229 int main(int argc, char** argv) 228 int main(int argc, char** argv)
230 { 229 {
231 int ret = ERROR_SUCCESS; 230 int ret = ERROR_SUCCESS;
232 -  
233 - _srs_internal::SrsDH dh;  
234 - dh.initialize();  
235 -  
236 - char key[128]; int nb_key = 128;  
237 - dh.copy_public_key(key, nb_key);  
238 - for (int i = 0; i < nb_key; i++) {  
239 - printf("%#x, ", (unsigned char)key[i]);  
240 - if (((i+1) %16) == 0) {  
241 - printf("\n");  
242 - }  
243 - }  
244 -  
245 - printf("\n");  
246 - exit(0);  
247 231
248 // TODO: support both little and big endian. 232 // TODO: support both little and big endian.
249 srs_assert(srs_is_little_endian()); 233 srs_assert(srs_is_little_endian());