X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=apps%2Fx509.c;h=add74d556d68c2a1230d84337d7ded9e2c6e38e0;hb=477e40b48c5a2d5f9ba597cea2f2e2eb77e9347a;hp=ad9fc98edfb9c2a9c77ea8920c93a9b7451ad27d;hpb=0df1caa77b793d055714f4d78d9aac7a985babb8;p=oweals%2Fopenssl.git diff --git a/apps/x509.c b/apps/x509.c index ad9fc98edf..add74d556d 100644 --- a/apps/x509.c +++ b/apps/x509.c @@ -817,10 +817,10 @@ int MAIN(int argc, char **argv) char *m; int y, z; - X509_NAME_oneline(X509_get_subject_name(x), buf, sizeof buf); + X509_NAME_oneline(X509_get_subject_name(x), buf, sizeof(buf)); BIO_printf(STDout, "/* subject:%s */\n", buf); m = X509_NAME_oneline(X509_get_issuer_name(x), buf, - sizeof buf); + sizeof(buf)); BIO_printf(STDout, "/* issuer :%s */\n", buf); z = i2d_X509(x, NULL);