diff options
author | Ted Unangst <tedu@cvs.openbsd.org> | 2014-04-18 01:59:01 +0000 |
---|---|---|
committer | Ted Unangst <tedu@cvs.openbsd.org> | 2014-04-18 01:59:01 +0000 |
commit | 35188ebe93027be05901875cfba50dc273f9d4a6 (patch) | |
tree | df10bf6b1538fafc57e8151223e96d30ad35bcc1 /lib/libcrypto/x509/x509_txt.c | |
parent | 46e0c430ebc727cb807e12fde0c7e7f582b4c1f6 (diff) |
blunt force knf
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); - } } +} |