summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/x509/x509_txt.c
diff options
context:
space:
mode:
authorguenther <>2014-04-20 20:06:20 +0000
committerguenther <>2014-04-20 20:06:20 +0000
commit91ebef3830470a3d69299aea39d1c4c439fc74a3 (patch)
tree90931c8435500dea3d590240ea7d0d9d4c989942 /src/lib/libcrypto/x509/x509_txt.c
parent6151e2029c0888ba93d9548d8cbaed792d912265 (diff)
downloadopenbsd-91ebef3830470a3d69299aea39d1c4c439fc74a3.tar.gz
openbsd-91ebef3830470a3d69299aea39d1c4c439fc74a3.tar.bz2
openbsd-91ebef3830470a3d69299aea39d1c4c439fc74a3.zip
Restore beck's (void)snprintf(): they were reviewed.
Diffstat (limited to 'src/lib/libcrypto/x509/x509_txt.c')
-rw-r--r--src/lib/libcrypto/x509/x509_txt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libcrypto/x509/x509_txt.c b/src/lib/libcrypto/x509/x509_txt.c
index 31a909a12c..3fb3b12355 100644
--- a/src/lib/libcrypto/x509/x509_txt.c
+++ b/src/lib/libcrypto/x509/x509_txt.c
@@ -184,7 +184,7 @@ X509_verify_cert_error_string(long n)
184 return("CRL path validation error"); 184 return("CRL path validation error");
185 185
186 default: 186 default:
187 snprintf(buf, sizeof buf, "error number %ld", n); 187 (void) snprintf(buf, sizeof buf, "error number %ld", n);
188 return (buf); 188 return(buf);
189 } 189 }
190} 190}