diff options
Diffstat (limited to 'lib/libcrypto/x509/x509_txt.c')
-rw-r--r-- | lib/libcrypto/x509/x509_txt.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/libcrypto/x509/x509_txt.c b/lib/libcrypto/x509/x509_txt.c index 27f6c7176ae..509948618e1 100644 --- a/lib/libcrypto/x509/x509_txt.c +++ b/lib/libcrypto/x509/x509_txt.c @@ -69,11 +69,10 @@ #include <openssl/objects.h> const char *X509_verify_cert_error_string(long n) - { +{ static char buf[100]; - switch ((int)n) - { + switch ((int)n) { case X509_V_OK: return("ok"); case X509_V_ERR_UNABLE_TO_GET_ISSUER_CERT: @@ -187,7 +186,7 @@ const char *X509_verify_cert_error_string(long n) default: (void) snprintf(buf,sizeof buf,"error number %ld",n); return(buf); - } } +} |