summaryrefslogtreecommitdiff
path: root/lib/libcrypto/x509/by_dir.c
diff options
context:
space:
mode:
authorBob Beck <beck@cvs.openbsd.org>2014-04-15 16:21:05 +0000
committerBob Beck <beck@cvs.openbsd.org>2014-04-15 16:21:05 +0000
commitfcd74ba7aa271885eb12554ad9070defd36a05c9 (patch)
treeeda55802f589b4c22802fb2af35147dcc283e21e /lib/libcrypto/x509/by_dir.c
parentad04ca41f9e0f0c8e6aa9159f577ff7e899d45e8 (diff)
Part 1 of eliminating BIO_snprintf(). This fixes mechanical conversions
where the return value is ignored changing to (void) snprintf. ok deraadt@
Diffstat (limited to 'lib/libcrypto/x509/by_dir.c')
-rw-r--r--lib/libcrypto/x509/by_dir.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libcrypto/x509/by_dir.c b/lib/libcrypto/x509/by_dir.c
index c6602dae4f5..f9d55c4e6d7 100644
--- a/lib/libcrypto/x509/by_dir.c
+++ b/lib/libcrypto/x509/by_dir.c
@@ -379,13 +379,13 @@ static int get_cert_by_subject(X509_LOOKUP *xl, int type, X509_NAME *name,
{
/* This is special. When c == '\0', no
directory separator should be added. */
- BIO_snprintf(b->data,b->max,
+ (void) snprintf(b->data,b->max,
"%s%08lx.%s%d",ent->dir,h,
postfix,k);
}
else
{
- BIO_snprintf(b->data,b->max,
+ (void) snprintf(b->data,b->max,
"%s%c%08lx.%s%d",ent->dir,c,h,
postfix,k);
}