diff options
author | Hakan Olsson <ho@cvs.openbsd.org> | 2003-04-05 11:05:09 +0000 |
---|---|---|
committer | Hakan Olsson <ho@cvs.openbsd.org> | 2003-04-05 11:05:09 +0000 |
commit | 015cd9dd0517c1ff44b61806bb740b9aa9e39c0f (patch) | |
tree | c1e40f10c3e779bddb15a455d934b7144059d7e8 /lib/libcrypto/x509/x509_txt.c | |
parent | 4779c09256587b05dcaa7dac5442842716c42dfb (diff) |
Trivial sprintf() -> snprintf() changes. ok deraadt@
Diffstat (limited to 'lib/libcrypto/x509/x509_txt.c')
-rw-r--r-- | lib/libcrypto/x509/x509_txt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libcrypto/x509/x509_txt.c b/lib/libcrypto/x509/x509_txt.c index 4f83db8ba2f..9d09ae17e82 100644 --- a/lib/libcrypto/x509/x509_txt.c +++ b/lib/libcrypto/x509/x509_txt.c @@ -148,7 +148,7 @@ const char *X509_verify_cert_error_string(long n) return("unhandled critical extension"); default: - sprintf(buf,"error number %ld",n); + snprintf(buf,sizeof buf,"error number %ld",n); return(buf); } } |