Comment 2 for bug 374241

Revision history for this message
Andrew Schulman (andrex) wrote :

In fact, I get the "can't use string as ARRAY ref" error every time I try to generate a certificate request:

*** unhandled exception in callback:
*** Can't use string ("OECA") as an ARRAY ref while "strict refs" in use at /usr/share/tinyca/GUI.pm line 1253.
*** ignoring at /usr/bin/tinyca2 line 112.

So for me, TinyCA is unable to generate cert requests at all.

The proposed patch does NOT fix the problem, because it also refers to the undefined array. I'm attaching a revised patch that does fix the problem.