summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/asn1/f_string.c
diff options
context:
space:
mode:
authormiod <>2014-04-27 20:24:52 +0000
committermiod <>2014-04-27 20:24:52 +0000
commitcbbb78bcf8e4dca14564fbea5fdfe0703e2951cc (patch)
tree0273044c83bb43eb7fb0daa5b70ca5de38b4ac72 /src/lib/libcrypto/asn1/f_string.c
parentbd5a66272a209275525e9b682866536ecc1fd55c (diff)
downloadopenbsd-cbbb78bcf8e4dca14564fbea5fdfe0703e2951cc.tar.gz
openbsd-cbbb78bcf8e4dca14564fbea5fdfe0703e2951cc.tar.bz2
openbsd-cbbb78bcf8e4dca14564fbea5fdfe0703e2951cc.zip
static const char * = "" -> static const char[] = "", to produce shorter code.
No functional change.
Diffstat (limited to 'src/lib/libcrypto/asn1/f_string.c')
-rw-r--r--src/lib/libcrypto/asn1/f_string.c2
1 files changed, 1 insertions, 1 deletions
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)