diff options
Diffstat (limited to 'src/lib/libcrypto/x509')
-rw-r--r-- | src/lib/libcrypto/x509/by_dir.c | 4 | ||||
-rw-r--r-- | src/lib/libcrypto/x509/x509_txt.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/libcrypto/x509/by_dir.c b/src/lib/libcrypto/x509/by_dir.c index c6602dae4f..f9d55c4e6d 100644 --- a/src/lib/libcrypto/x509/by_dir.c +++ b/src/lib/libcrypto/x509/by_dir.c | |||
@@ -379,13 +379,13 @@ static int get_cert_by_subject(X509_LOOKUP *xl, int type, X509_NAME *name, | |||
379 | { | 379 | { |
380 | /* This is special. When c == '\0', no | 380 | /* This is special. When c == '\0', no |
381 | directory separator should be added. */ | 381 | directory separator should be added. */ |
382 | BIO_snprintf(b->data,b->max, | 382 | (void) snprintf(b->data,b->max, |
383 | "%s%08lx.%s%d",ent->dir,h, | 383 | "%s%08lx.%s%d",ent->dir,h, |
384 | postfix,k); | 384 | postfix,k); |
385 | } | 385 | } |
386 | else | 386 | else |
387 | { | 387 | { |
388 | BIO_snprintf(b->data,b->max, | 388 | (void) snprintf(b->data,b->max, |
389 | "%s%c%08lx.%s%d",ent->dir,c,h, | 389 | "%s%c%08lx.%s%d",ent->dir,c,h, |
390 | postfix,k); | 390 | postfix,k); |
391 | } | 391 | } |
diff --git a/src/lib/libcrypto/x509/x509_txt.c b/src/lib/libcrypto/x509/x509_txt.c index c44f753c46..27f6c7176a 100644 --- a/src/lib/libcrypto/x509/x509_txt.c +++ b/src/lib/libcrypto/x509/x509_txt.c | |||
@@ -185,7 +185,7 @@ const char *X509_verify_cert_error_string(long n) | |||
185 | return("CRL path validation error"); | 185 | return("CRL path validation error"); |
186 | 186 | ||
187 | default: | 187 | default: |
188 | BIO_snprintf(buf,sizeof buf,"error number %ld",n); | 188 | (void) snprintf(buf,sizeof buf,"error number %ld",n); |
189 | return(buf); | 189 | return(buf); |
190 | } | 190 | } |
191 | } | 191 | } |