diff options
author | 2014-04-27 20:24:52 +0000 | |
---|---|---|
committer | 2014-04-27 20:24:52 +0000 | |
commit | 1d6b7a0f39dd8367fe794ac653768f8322f2df75 (patch) | |
tree | 08a0613f7781da53744f439953c3cd2c09af6a64 /lib/libssl/src | |
parent | Unifdef -U OPENSSL_BUILD_SHLIBCRYPTO, since all it causes under Unix is to (diff) | |
download | wireguard-openbsd-1d6b7a0f39dd8367fe794ac653768f8322f2df75.tar.xz wireguard-openbsd-1d6b7a0f39dd8367fe794ac653768f8322f2df75.zip |
static const char * = "" -> static const char[] = "", to produce shorter code.
No functional change.
Diffstat (limited to 'lib/libssl/src')
-rw-r--r-- | lib/libssl/src/crypto/asn1/f_enum.c | 2 | ||||
-rw-r--r-- | lib/libssl/src/crypto/asn1/f_int.c | 2 | ||||
-rw-r--r-- | lib/libssl/src/crypto/asn1/f_string.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/lib/libssl/src/crypto/asn1/f_enum.c b/lib/libssl/src/crypto/asn1/f_enum.c index 5c42cdff015..c7b81ccbc95 100644 --- a/lib/libssl/src/crypto/asn1/f_enum.c +++ b/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/lib/libssl/src/crypto/asn1/f_int.c b/lib/libssl/src/crypto/asn1/f_int.c index 41e0e752264..283860d72d5 100644 --- a/lib/libssl/src/crypto/asn1/f_int.c +++ b/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/lib/libssl/src/crypto/asn1/f_string.c b/lib/libssl/src/crypto/asn1/f_string.c index 14f6554ab33..0a1f136b4e7 100644 --- a/lib/libssl/src/crypto/asn1/f_string.c +++ b/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) |