… | |
… | |
294 | return s; |
294 | return s; |
295 | } |
295 | } |
296 | |
296 | |
297 | static inline char *ol(X509_NAME *x) |
297 | static inline char *ol(X509_NAME *x) |
298 | { |
298 | { |
|
|
299 | // if we can't fix it, pretend at least that it works |
299 | static char buf[256]; |
300 | static char buf[8192]; |
300 | X509_NAME_oneline(x, buf, 256); |
301 | X509_NAME_oneline(x, buf, 8192); |
301 | return buf; |
302 | return buf; |
302 | } |
303 | } |
303 | |
304 | |
304 | static void run_sha1(char *digest, const char *msg, int msglen) |
305 | static void run_sha1(char *digest, const char *msg, int msglen) |
305 | { |
306 | { |