From cbbb78bcf8e4dca14564fbea5fdfe0703e2951cc Mon Sep 17 00:00:00 2001 From: miod <> Date: Sun, 27 Apr 2014 20:24:52 +0000 Subject: static const char * = "" -> static const char[] = "", to produce shorter code. No functional change. --- src/lib/libcrypto/asn1/f_enum.c | 2 +- src/lib/libcrypto/asn1/f_int.c | 2 +- src/lib/libcrypto/asn1/f_string.c | 2 +- src/lib/libssl/src/crypto/asn1/f_enum.c | 2 +- src/lib/libssl/src/crypto/asn1/f_int.c | 2 +- src/lib/libssl/src/crypto/asn1/f_string.c | 2 +- 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 i2a_ASN1_ENUMERATED(BIO *bp, ASN1_ENUMERATED *a) { int i, n = 0; - static const char *h = "0123456789ABCDEF"; + static const char h[] = "0123456789ABCDEF"; char buf[2]; 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 i2a_ASN1_INTEGER(BIO *bp, ASN1_INTEGER *a) { int i, n = 0; - static const char *h = "0123456789ABCDEF"; + static const char h[] = "0123456789ABCDEF"; char buf[2]; 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 i2a_ASN1_STRING(BIO *bp, ASN1_STRING *a, int type) { int i, n = 0; - static const char *h = "0123456789ABCDEF"; + static const char h[] = "0123456789ABCDEF"; char buf[2]; 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 i2a_ASN1_ENUMERATED(BIO *bp, ASN1_ENUMERATED *a) { int i, n = 0; - static const char *h = "0123456789ABCDEF"; + static const char h[] = "0123456789ABCDEF"; char buf[2]; 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 i2a_ASN1_INTEGER(BIO *bp, ASN1_INTEGER *a) { int i, n = 0; - static const char *h = "0123456789ABCDEF"; + static const char h[] = "0123456789ABCDEF"; char buf[2]; 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 i2a_ASN1_STRING(BIO *bp, ASN1_STRING *a, int type) { int i, n = 0; - static const char *h = "0123456789ABCDEF"; + static const char h[] = "0123456789ABCDEF"; char buf[2]; if (a == NULL) -- cgit v1.2.3-55-g6feb