summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormiod <>2014-04-27 20:24:52 +0000
committermiod <>2014-04-27 20:24:52 +0000
commit3192965f7c3dc7bef981bbbf1d40f6e3be9fcf5d (patch)
tree0273044c83bb43eb7fb0daa5b70ca5de38b4ac72 /src
parentf5e526874dc7c5394cc6d189aa67c0484138d3d7 (diff)
downloadopenbsd-3192965f7c3dc7bef981bbbf1d40f6e3be9fcf5d.tar.gz
openbsd-3192965f7c3dc7bef981bbbf1d40f6e3be9fcf5d.tar.bz2
openbsd-3192965f7c3dc7bef981bbbf1d40f6e3be9fcf5d.zip
static const char * = "" -> static const char[] = "", to produce shorter code.
No functional change.
Diffstat (limited to 'src')
-rw-r--r--src/lib/libcrypto/asn1/f_enum.c2
-rw-r--r--src/lib/libcrypto/asn1/f_int.c2
-rw-r--r--src/lib/libcrypto/asn1/f_string.c2
-rw-r--r--src/lib/libssl/src/crypto/asn1/f_enum.c2
-rw-r--r--src/lib/libssl/src/crypto/asn1/f_int.c2
-rw-r--r--src/lib/libssl/src/crypto/asn1/f_string.c2
6 files changed, 6 insertions, 6 deletions
diff --git a/src/lib/libcrypto/asn1/f_enum.c b/src/lib/libcrypto/asn1/f_enum.c
index 5c42cdff01..c7b81ccbc9 100644
--- a/src/lib/libcrypto/asn1/f_enum.c
+++ b/src/lib/libcrypto/asn1/f_enum.c
@@ -67,7 +67,7 @@ int
67i2a_ASN1_ENUMERATED(BIO *bp, ASN1_ENUMERATED *a) 67i2a_ASN1_ENUMERATED(BIO *bp, ASN1_ENUMERATED *a)
68{ 68{
69 int i, n = 0; 69 int i, n = 0;
70 static const char *h = "0123456789ABCDEF"; 70 static const char h[] = "0123456789ABCDEF";
71 char buf[2]; 71 char buf[2];
72 72
73 if (a == NULL) 73 if (a == NULL)
diff --git a/src/lib/libcrypto/asn1/f_int.c b/src/lib/libcrypto/asn1/f_int.c
index 41e0e75226..283860d72d 100644
--- a/src/lib/libcrypto/asn1/f_int.c
+++ b/src/lib/libcrypto/asn1/f_int.c
@@ -65,7 +65,7 @@ int
65i2a_ASN1_INTEGER(BIO *bp, ASN1_INTEGER *a) 65i2a_ASN1_INTEGER(BIO *bp, ASN1_INTEGER *a)
66{ 66{
67 int i, n = 0; 67 int i, n = 0;
68 static const char *h = "0123456789ABCDEF"; 68 static const char h[] = "0123456789ABCDEF";
69 char buf[2]; 69 char buf[2];
70 70
71 if (a == NULL) 71 if (a == NULL)
diff --git a/src/lib/libcrypto/asn1/f_string.c b/src/lib/libcrypto/asn1/f_string.c
index 14f6554ab3..0a1f136b4e 100644
--- a/src/lib/libcrypto/asn1/f_string.c
+++ b/src/lib/libcrypto/asn1/f_string.c
@@ -65,7 +65,7 @@ int
65i2a_ASN1_STRING(BIO *bp, ASN1_STRING *a, int type) 65i2a_ASN1_STRING(BIO *bp, ASN1_STRING *a, int type)
66{ 66{
67 int i, n = 0; 67 int i, n = 0;
68 static const char *h = "0123456789ABCDEF"; 68 static const char h[] = "0123456789ABCDEF";
69 char buf[2]; 69 char buf[2];
70 70
71 if (a == NULL) 71 if (a == NULL)
diff --git a/src/lib/libssl/src/crypto/asn1/f_enum.c b/src/lib/libssl/src/crypto/asn1/f_enum.c
index 5c42cdff01..c7b81ccbc9 100644
--- a/src/lib/libssl/src/crypto/asn1/f_enum.c
+++ b/src/lib/libssl/src/crypto/asn1/f_enum.c
@@ -67,7 +67,7 @@ int
67i2a_ASN1_ENUMERATED(BIO *bp, ASN1_ENUMERATED *a) 67i2a_ASN1_ENUMERATED(BIO *bp, ASN1_ENUMERATED *a)
68{ 68{
69 int i, n = 0; 69 int i, n = 0;
70 static const char *h = "0123456789ABCDEF"; 70 static const char h[] = "0123456789ABCDEF";
71 char buf[2]; 71 char buf[2];
72 72
73 if (a == NULL) 73 if (a == NULL)
diff --git a/src/lib/libssl/src/crypto/asn1/f_int.c b/src/lib/libssl/src/crypto/asn1/f_int.c
index 41e0e75226..283860d72d 100644
--- a/src/lib/libssl/src/crypto/asn1/f_int.c
+++ b/src/lib/libssl/src/crypto/asn1/f_int.c
@@ -65,7 +65,7 @@ int
65i2a_ASN1_INTEGER(BIO *bp, ASN1_INTEGER *a) 65i2a_ASN1_INTEGER(BIO *bp, ASN1_INTEGER *a)
66{ 66{
67 int i, n = 0; 67 int i, n = 0;
68 static const char *h = "0123456789ABCDEF"; 68 static const char h[] = "0123456789ABCDEF";
69 char buf[2]; 69 char buf[2];
70 70
71 if (a == NULL) 71 if (a == NULL)
diff --git a/src/lib/libssl/src/crypto/asn1/f_string.c b/src/lib/libssl/src/crypto/asn1/f_string.c
index 14f6554ab3..0a1f136b4e 100644
--- a/src/lib/libssl/src/crypto/asn1/f_string.c
+++ b/src/lib/libssl/src/crypto/asn1/f_string.c
@@ -65,7 +65,7 @@ int
65i2a_ASN1_STRING(BIO *bp, ASN1_STRING *a, int type) 65i2a_ASN1_STRING(BIO *bp, ASN1_STRING *a, int type)
66{ 66{
67 int i, n = 0; 67 int i, n = 0;
68 static const char *h = "0123456789ABCDEF"; 68 static const char h[] = "0123456789ABCDEF";
69 char buf[2]; 69 char buf[2];
70 70
71 if (a == NULL) 71 if (a == NULL)