Rather than sprinkling magical numbers everywhere, we can use sizeof()
authorbeck <beck@openbsd.org>
Wed, 23 Apr 2014 04:24:39 +0000 (04:24 +0000)
committerbeck <beck@openbsd.org>
Wed, 23 Apr 2014 04:24:39 +0000 (04:24 +0000)
commit10ce1b05411a650e72968d519e53e38bc6b074d7
tree972626c086b6c83fc461ccd14e177454e4f54cfa
parent34e7861924304ba06ec8c1c769b7f4964683842d
Rather than sprinkling magical numbers everywhere, we can use sizeof()
for the size of a fixed size array.
From Dirk Engling <erdgeist@erdgeist.org>
lib/libcrypto/asn1/n_pkey.c
lib/libssl/src/crypto/asn1/n_pkey.c