summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/x509v3/v3_utl.c
diff options
context:
space:
mode:
authormiod <>2014-04-27 20:20:59 +0000
committermiod <>2014-04-27 20:20:59 +0000
commitdca0aaa15884eb5bf1105e1c7a6323f11be4abd3 (patch)
tree8c69a274c74d651766e7fde77b65409a83f19e91 /src/lib/libcrypto/x509v3/v3_utl.c
parent3a7174b249978efb30c051425bce7b06accba708 (diff)
downloadopenbsd-dca0aaa15884eb5bf1105e1c7a6323f11be4abd3.tar.gz
openbsd-dca0aaa15884eb5bf1105e1c7a6323f11be4abd3.tar.bz2
openbsd-dca0aaa15884eb5bf1105e1c7a6323f11be4abd3.zip
Put explicit (void) in function declarations and shuffle keywords in some
declaration to pass -Wextra, should we want to add it to CFLAGS. No binary change.
Diffstat (limited to 'src/lib/libcrypto/x509v3/v3_utl.c')
-rw-r--r--src/lib/libcrypto/x509v3/v3_utl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/libcrypto/x509v3/v3_utl.c b/src/lib/libcrypto/x509v3/v3_utl.c
index f85c1ef82e..c3328d668d 100644
--- a/src/lib/libcrypto/x509v3/v3_utl.c
+++ b/src/lib/libcrypto/x509v3/v3_utl.c
@@ -365,7 +365,7 @@ char *hex_to_string(const unsigned char *buffer, long len)
365 char *tmp, *q; 365 char *tmp, *q;
366 const unsigned char *p; 366 const unsigned char *p;
367 int i; 367 int i;
368 const static char hexdig[] = "0123456789ABCDEF"; 368 static const char hexdig[] = "0123456789ABCDEF";
369 if(!buffer || !len) return NULL; 369 if(!buffer || !len) return NULL;
370 if(!(tmp = malloc(len * 3 + 1))) { 370 if(!(tmp = malloc(len * 3 + 1))) {
371 X509V3err(X509V3_F_HEX_TO_STRING,ERR_R_MALLOC_FAILURE); 371 X509V3err(X509V3_F_HEX_TO_STRING,ERR_R_MALLOC_FAILURE);