summaryrefslogtreecommitdiffstats
path: root/usr.bin/openssl/ecparam.c
diff options
context:
space:
mode:
authorkrw <krw@openbsd.org>2015-09-11 14:08:22 +0000
committerkrw <krw@openbsd.org>2015-09-11 14:08:22 +0000
commit7253aefd4a177f676fa74b52863db4d089daaabd (patch)
treebebacc91df4f5cb2ac4937775dc1a9dd745294fd /usr.bin/openssl/ecparam.c
parentremove some bits of srp.h i had pasted in here by accident (diff)
downloadwireguard-openbsd-7253aefd4a177f676fa74b52863db4d089daaabd.tar.xz
wireguard-openbsd-7253aefd4a177f676fa74b52863db4d089daaabd.zip
GPT partitions cannot start at offset 0. Eliminate the variable
tracking our discovery of the first OpenBSD partition (ourpart) and just use the variable holding the offset of the first OpenBSD partition (gptpartoff). Move initialization of gptpartoff and gptpartend closer to their use and set them when the first OpenBSD partition is found. Thus eliminating a later 'if' statement.
Diffstat (limited to 'usr.bin/openssl/ecparam.c')
0 files changed, 0 insertions, 0 deletions