Lines Matching refs:ui_method
599 UI_METHOD *ui_method = NULL; in UI_create_method() local
601 if ((ui_method = OPENSSL_zalloc(sizeof(*ui_method))) == NULL in UI_create_method()
602 || (ui_method->name = OPENSSL_strdup(name)) == NULL in UI_create_method()
603 || !CRYPTO_new_ex_data(CRYPTO_EX_INDEX_UI_METHOD, ui_method, in UI_create_method()
604 &ui_method->ex_data)) { in UI_create_method()
605 if (ui_method) in UI_create_method()
606 OPENSSL_free(ui_method->name); in UI_create_method()
607 OPENSSL_free(ui_method); in UI_create_method()
611 return ui_method; in UI_create_method()
619 void UI_destroy_method(UI_METHOD *ui_method) in UI_destroy_method() argument
621 if (ui_method == NULL) in UI_destroy_method()
623 CRYPTO_free_ex_data(CRYPTO_EX_INDEX_UI_METHOD, ui_method, in UI_destroy_method()
624 &ui_method->ex_data); in UI_destroy_method()
625 OPENSSL_free(ui_method->name); in UI_destroy_method()
626 ui_method->name = NULL; in UI_destroy_method()
627 OPENSSL_free(ui_method); in UI_destroy_method()