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
commit671b17135ef9dbabd4ad62b531f6f48f81daf8e0 (patch)
tree8c69a274c74d651766e7fde77b65409a83f19e91 /src/lib/libcrypto/x509v3/v3_utl.c
parent37888f1855086875d6d21338acdf1d2de8a56714 (diff)
downloadopenbsd-671b17135ef9dbabd4ad62b531f6f48f81daf8e0.tar.gz
openbsd-671b17135ef9dbabd4ad62b531f6f48f81daf8e0.tar.bz2
openbsd-671b17135ef9dbabd4ad62b531f6f48f81daf8e0.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);