diff --git a/crypto/ui/ui_lib.c b/crypto/ui/ui_lib.c index 2cbed03717c5f670ef677a1481ff78a96d8cbb7f..5b6cacf9f8fa8508a17753348311adabdbbb1be9 100644 --- a/crypto/ui/ui_lib.c +++ b/crypto/ui/ui_lib.c @@ -100,7 +100,7 @@ UI *UI_new_method(const UI_METHOD *method) ret->strings=NULL; ret->user_data=NULL; - ret->ex_data=NULL; + CRYPTO_new_ex_data(ui_meth,ret,&ret->ex_data); return ret; }