Initialize UI ex_data.
authorDr. Stephen Henson <steve@openssl.org>
Mon, 11 Jun 2001 00:45:33 +0000 (00:45 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Mon, 11 Jun 2001 00:45:33 +0000 (00:45 +0000)
crypto/ui/ui_lib.c

index 2cbed03..5b6cacf 100644 (file)
@@ -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;
        }