diff options
| author | tedu <> | 2014-04-18 01:59:00 +0000 |
|---|---|---|
| committer | tedu <> | 2014-04-18 01:59:00 +0000 |
| commit | 7e187c94c34271d4b5fc5cb79fc0e129d0a63fa1 (patch) | |
| tree | 88ee4831e2437f9075e786ffb662bb05fe0e3df6 /src/lib/libcrypto/x509/x509_txt.c | |
| parent | 80823cb97c2306eeedfd3544fc82a8d9a02224b6 (diff) | |
| download | openbsd-7e187c94c34271d4b5fc5cb79fc0e129d0a63fa1.tar.gz openbsd-7e187c94c34271d4b5fc5cb79fc0e129d0a63fa1.tar.bz2 openbsd-7e187c94c34271d4b5fc5cb79fc0e129d0a63fa1.zip | |
blunt force knf
Diffstat (limited to 'src/lib/libcrypto/x509/x509_txt.c')
| -rw-r--r-- | src/lib/libcrypto/x509/x509_txt.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/lib/libcrypto/x509/x509_txt.c b/src/lib/libcrypto/x509/x509_txt.c index 27f6c7176a..509948618e 100644 --- a/src/lib/libcrypto/x509/x509_txt.c +++ b/src/lib/libcrypto/x509/x509_txt.c | |||
| @@ -69,11 +69,10 @@ | |||
| 69 | #include <openssl/objects.h> | 69 | #include <openssl/objects.h> |
| 70 | 70 | ||
| 71 | const char *X509_verify_cert_error_string(long n) | 71 | const char *X509_verify_cert_error_string(long n) |
| 72 | { | 72 | { |
| 73 | static char buf[100]; | 73 | static char buf[100]; |
| 74 | 74 | ||
| 75 | switch ((int)n) | 75 | switch ((int)n) { |
| 76 | { | ||
| 77 | case X509_V_OK: | 76 | case X509_V_OK: |
| 78 | return("ok"); | 77 | return("ok"); |
| 79 | case X509_V_ERR_UNABLE_TO_GET_ISSUER_CERT: | 78 | case X509_V_ERR_UNABLE_TO_GET_ISSUER_CERT: |
| @@ -187,7 +186,7 @@ const char *X509_verify_cert_error_string(long n) | |||
| 187 | default: | 186 | default: |
| 188 | (void) snprintf(buf,sizeof buf,"error number %ld",n); | 187 | (void) snprintf(buf,sizeof buf,"error number %ld",n); |
| 189 | return(buf); | 188 | return(buf); |
| 190 | } | ||
| 191 | } | 189 | } |
| 190 | } | ||
| 192 | 191 | ||
| 193 | 192 | ||
